NutzCN Logo
问答 帮忙看下tomcat启动的时候的日志
发布于 3364天前 作者 qq_0337f457 4287 次浏览 复制 上一个帖子 下一个帖子
标签: tomcat
4 回复

这截图没有有意义的内容
自豪地采用 NutzCN ionic

另外,发帖请看一眼 提问的智慧 。这帖子的标题无意义,内容直接一个截图,无法索引无法搜索。提供前因后果,就一个截图是得不到有意义的回复的
自豪地采用 NutzCN ionic

@wendal 兽哥,我错了。。。是这样的我的开发环境是window8 64+jdk 7 64位,项目部署环境是xp+jdk 32位。。我启动tomcat的时候就报找不到config这个文件。。
validateJarFile(F:\tools\tomcat6\apache-tomcat-6.0.29\webapps\xdyy\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
ALL Nutz Log via Log4jLogAdapter
log4j:WARN No appenders could be found for logger (org.nutz.log.Logs).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
十月 07, 2015 10:20:11 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.json.JsonLoader'
by args: [
@(src/main/resoures/config)] becasue:
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in src/main/resoures/config
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:931)
at org.nutz.lang.Lang.wrapThrow(Lang.java:164)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:120)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:78)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.json.JsonLoader'
by args: [
@(src/main/resoures/config)] becasue:
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in src/main/resoures/config
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:21)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:931)
at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:106)
at org.nutz.ioc.loader.combo.ComboIocLoader.(ComboIocLoader.java:79)
at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:15)
at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:356)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:97)
... 29 more
Caused by: java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in src/main/resoures/config
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:931)
at org.nutz.lang.Lang.makeThrow(Lang.java:116)
at org.nutz.resource.Scans.loadResource(Scans.java:86)
at org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:19)
... 36 more

十月 07, 2015 10:20:11 下午 org.apache.catalina.core.StandardContext start
严重: Error filterStart
十月 07, 2015 10:20:11 下午 org.apache.catalina.core.StandardContext start
严重: Context [/xdyy] startup failed due to previous errors
十月 07, 2015 10:20:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/xdyy] registered the JBDC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十月 07, 2015 10:20:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/xdyy] registered the JBDC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十月 07, 2015 10:20:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/xdyy] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十月 07, 2015 10:20:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/xdyy] registered the JBDC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十月 07, 2015 10:20:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/xdyy] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
十月 07, 2015 10:20:11 下午 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/xdyy] created a ThreadLocal with key of type [null] (value [org.nutz.mvc.NutMvcContext$1@c41471]) and a value of type [org.nutz.lang.util.SimpleContext] (value [{
}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

  1. 在src/main/resoures下加上log4j的配置文件 2. ioc配置改成 /config 两个事情都得做
    自豪地采用 NutzCN ionic
添加回复
请先登陆
回到顶部