jeeplus

 找回密码
 立即注册
查看: 184|回复: 5

maven 版本 tomcat独立部署报错

[复制链接]

1

主题

3

帖子

32

积分

新手上路

UID
178
威望
0
贡献
0
在线时间
3 小时
注册时间
2017-6-12
发表于 2017-6-28 23:08:43 | 显示全部楼层 |阅读模式
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
六月 28, 2017 10:46:54 下午 org.apache.naming.resources.WARDirContext doLookup
信息: The name [/META-INF/resources/WEB-INF/classes/com/jeeplus/common/utils/base/SystemPropertiesUtil$ListenableProperties.class/漱壕   4 \] is not valid
javax.naming.InvalidNameException: /META-INF/resources/WEB-INF/classes/com/jeeplus/common/utils/base/SystemPropertiesUtil$ListenableProperties.class/漱壕   4 \: unescaped \ at end of component
at javax.naming.NameImpl.extractComp(NameImpl.java:162)
at javax.naming.NameImpl.<init>(NameImpl.java:286)
at javax.naming.CompositeName.<init>(CompositeName.java:231)
at org.apache.naming.resources.WARDirContext.getEscapedJndiName(WARDirContext.java:225)
at org.apache.naming.resources.WARDirContext.doLookup(WARDirContext.java:195)
at org.apache.naming.resources.BaseDirContext.doLookupWithoutNNFE(BaseDirContext.java:494)
at org.apache.naming.resources.BaseDirContext.doLookupWithoutNNFE(BaseDirContext.java:504)
at org.apache.naming.resources.BaseDirContext.lookup(BaseDirContext.java:475)
at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:306)
at org.apache.catalina.loader.WebappClassLoaderBase.findResources(WebappClassLoaderBase.java:1483)
at java.lang.ClassLoader.getResources(ClassLoader.java:1142)
at org.apache.ibatis.io.VFS.getResources(VFS.java:164)
at org.apache.ibatis.io.DefaultVFS.list(DefaultVFS.java:96)
at org.apache.ibatis.io.DefaultVFS.list(DefaultVFS.java:137)
at org.apache.ibatis.io.DefaultVFS.list(DefaultVFS.java:137)
at org.apache.ibatis.io.DefaultVFS.list(DefaultVFS.java:137)
at org.apache.ibatis.io.DefaultVFS.list(DefaultVFS.java:137)
at org.apache.ibatis.io.VFS.list(VFS.java:193)
at org.apache.ibatis.io.ResolverUtil.find(ResolverUtil.java:216)
at org.apache.ibatis.type.TypeAliasRegistry.registerAliases(TypeAliasRegistry.java:127)
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:419)
at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:374)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1648)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1585)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:554)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1492)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1237)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:552)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1500)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:826)
at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:547)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:430)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:220)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1248)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1169)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1094)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:659)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1225)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:552)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1028)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:223)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
at com.jeeplus.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:16)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

Audrey
回复

使用道具 举报

2

主题

3

帖子

24

积分

新手上路

UID
341
威望
0
贡献
0
在线时间
5 小时
注册时间
2017-6-19
发表于 2017-6-29 08:19:28 | 显示全部楼层
这问题很多人都有,请优先解决下。
回复

使用道具 举报

2

主题

4

帖子

44

积分

新手上路

UID
182
威望
0
贡献
0
在线时间
2 小时
注册时间
2017-6-12
发表于 2017-6-29 09:34:42 | 显示全部楼层
群主说去除代码生成器依赖包试试
一诺千金
回复

使用道具 举报

4

主题

21

帖子

556

积分

高级会员

UID
6
威望
0
贡献
0
在线时间
21 小时
注册时间
2017-6-5
发表于 2017-6-29 11:01:50 | 显示全部楼层
这个还是跟本地环境有关,tomcat7+jdk8  不会有问题的
回复

使用道具 举报

1

主题

3

帖子

32

积分

新手上路

UID
178
威望
0
贡献
0
在线时间
3 小时
注册时间
2017-6-12
 楼主| 发表于 2017-6-29 22:40:53 | 显示全部楼层
ricky 发表于 2017-6-29 11:01
这个还是跟本地环境有关,tomcat7+jdk8  不会有问题的

可是我就是用的tomcat7+jdk8啊
Audrey
回复

使用道具 举报

0

主题

1

帖子

34

积分

新手上路

UID
195
威望
0
贡献
0
在线时间
3 小时
注册时间
2017-6-12
发表于 2017-7-6 14:26:41 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|jeeplus官方论坛  

GMT+8, 2017-7-22 18:34 , Processed in 0.091615 second(s), 19 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表