2019-04-24 13:21:23:[INFO ][ org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:221)] [org.nutz.mvc.impl.NutLoading]:Found 905 module methods
2019-04-24 13:21:23:[DEBUG][ org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:335)] [org.nutz.mvc.impl.NutLoading]:@Localization not define
2019-04-24 13:21:23:[INFO ][ org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:275)] [org.nutz.mvc.impl.NutLoading]:Setup application...
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165)] [org.nutz.ioc.impl.NutIoc]:Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.NutIoc.get(NutIoc.java:191)] [org.nutz.ioc.impl.NutIoc]: >> Load definition name=conf
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226)] [org.nutz.ioc.loader.combo.ComboIocLoader]:Found IocObject(conf) in JsonLoader(paths=[ioc/])
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.NutIoc.get(NutIoc.java:222)] [org.nutz.ioc.impl.NutIoc]: >> Make...'conf'<class org.nutz.ioc.impl.PropertiesProxy>
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64)] [org.nutz.ioc.impl.ScopeContext]:Save object 'conf' to [app]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76)] [org.nutz.ioc.aop.impl.DefaultMirrorFactory]:Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2019-04-24 13:21:23:[DEBUG][ org.nutz.resource.Scans.scan(Scans.java:280)] [org.nutz.resource.Scans]:Found 5 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114)] [org.nutz.ioc.impl.PropertiesProxy]:load properties from File[D:\tomcat\apache-tomcat-8.5.15\webapps\bxacorp\WEB-INF\classes\custom\common.properties]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114)] [org.nutz.ioc.impl.PropertiesProxy]:load properties from File[D:\tomcat\apache-tomcat-8.5.15\webapps\bxacorp\WEB-INF\classes\custom\jdbc.properties]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114)] [org.nutz.ioc.impl.PropertiesProxy]:load properties from File[D:\tomcat\apache-tomcat-8.5.15\webapps\bxacorp\WEB-INF\classes\custom\mail.properties]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114)] [org.nutz.ioc.impl.PropertiesProxy]:load properties from File[D:\tomcat\apache-tomcat-8.5.15\webapps\bxacorp\WEB-INF\classes\custom\redis.properties]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114)] [org.nutz.ioc.impl.PropertiesProxy]:load properties from File[D:\tomcat\apache-tomcat-8.5.15\webapps\bxacorp\WEB-INF\classes\custom\version.properties]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165)] [org.nutz.ioc.impl.NutIoc]:Get 'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.NutIoc.get(NutIoc.java:191)] [org.nutz.ioc.impl.NutIoc]: >> Load definition name=jedisAgent
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226)] [org.nutz.ioc.loader.combo.ComboIocLoader]:Found IocObject(jedisAgent) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.NutIoc.get(NutIoc.java:222)] [org.nutz.ioc.impl.NutIoc]: >> Make...'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64)] [org.nutz.ioc.impl.ScopeContext]:Save object 'jedisAgent' to [app]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84)] [org.nutz.ioc.impl.ScopeContext]:Remove object 'jedisAgent' from [app]
2019-04-24 13:21:23:[ERROR][ org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125)] [org.nutz.mvc.impl.NutLoading]:Error happend during start serivce!
org.nutz.ioc.IocException: IocBean[jedisAgent] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:160)
at bxa.main.MainSetup.init(MainSetup.java:41)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:278)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: redis/clients/util/Pool
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.nutz.ioc.aop.SimpleAopMaker.getMethods(SimpleAopMaker.java:154)
at org.nutz.ioc.aop.SimpleAopMaker.getInterceptorPairList(SimpleAopMaker.java:112)
at org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:101)
... 21 more
Caused by: java.lang.ClassNotFoundException: redis.clients.util.Pool
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
... 28 more
2019-04-24 13:21:23:[ERROR][ org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127)] [org.nutz.mvc.impl.NutLoading]:try to depose ioc
2019-04-24 13:21:23:[INFO ][ org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:286)] [org.nutz.ioc.impl.NutIoc]:org.nutz.ioc.impl.NutIoc@1314863998 is closing. startup date [19-04-24 13:21:21.638]
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108)] [org.nutz.ioc.impl.ScopeContext]:Depose object 'conf' ...
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108)] [org.nutz.ioc.impl.ScopeContext]:Depose object 'tmpFilePool' ...
2019-04-24 13:21:23:[DEBUG][ org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108)] [org.nutz.ioc.impl.ScopeContext]:Depose object '$aop_async' ...
2019-04-24 13:21:23:[INFO ][ org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:300)] [org.nutz.ioc.impl.NutIoc]:org.nutz.ioc.impl.NutIoc@1314863998 is deposed. startup date [19-04-24 13:21:21.638]
四月 24, 2019 1:21:23 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [nutz]
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: IocBean[jedisAgent] throw Exception when creating
at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:1010)
at org.nutz.lang.Lang.wrapThrow(Lang.java:201)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: IocBean[jedisAgent] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:160)
at bxa.main.MainSetup.init(MainSetup.java:41)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:278)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
... 15 more
Caused by: java.lang.NoClassDefFoundError: redis/clients/util/Pool
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.nutz.ioc.aop.SimpleAopMaker.getMethods(SimpleAopMaker.java:154)
at org.nutz.ioc.aop.SimpleAopMaker.getInterceptorPairList(SimpleAopMaker.java:112)
at org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:101)
... 21 more
Caused by: java.lang.ClassNotFoundException: redis.clients.util.Pool
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
... 28 more
四月 24, 2019 1:21:23 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
四月 24, 2019 1:21:23 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/bxacorp] startup failed due to previous errors
四月 24, 2019 1:21:24 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: 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.
6 回复
maven配置。 我看项目里面 maven dependencies里面有
C:\Users\yuanj.m2\repository\org\apache\commons\commons-pool2\2.4.3\commons-pool2-2.4.3.jar
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutz</artifactId>
<version>1.r.65</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>3.0.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutz-integration-jedis</artifactId>
<version>1.r.65</version>
</dependency>
添加回复
请先登陆