NutzCN Logo
精华 项目从jdk7+tomcat7中 迁移到 jdk8+tomcat8中,启动出现问题
发布于 302天前 作者 javanan 194 次浏览 复制 上一个帖子 下一个帖子
标签: tomcat
26-Nov-2016 15:33:34.668 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-80"]
26-Nov-2016 15:33:34.731 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 36654 ms
26-Nov-2016 15:35:21.451 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-80"]
26-Nov-2016 15:35:21.451 INFO [Thread-4] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
26-Nov-2016 15:35:21.545 INFO [Thread-4] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-80"]
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.14
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:   Sep 24 2014 09:01:51
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:  8.0.14.0
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:     6.2
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:   amd64
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:    1.8.0_25-b18
26-Nov-2016 15:38:07.672 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:     Oracle Corporation
26-Nov-2016 15:38:08.640 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property.
26-Nov-2016 15:38:08.640 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property.
26-Nov-2016 15:38:08.687 INFO [main] org.apache.catalina.core.AprLifecycleListener.init Loaded APR based Apache Tomcat Native library 1.1.31 using APR version 1.4.8.
26-Nov-2016 15:38:08.687 INFO [main] org.apache.catalina.core.AprLifecycleListener.init APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
26-Nov-2016 15:38:09.578 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.1h 5 Jun 2014)
26-Nov-2016 15:38:10.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-80"]
26-Nov-2016 15:38:10.109 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2651 ms
26-Nov-2016 15:38:10.156 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
26-Nov-2016 15:38:10.172 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.14
26-Nov-2016 15:38:10.203 INFO [xx-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\virtualhost\xx\x.war
26-Nov-2016 15:38:35.563 INFO [xx-startStop-1] 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.
26-Nov-2016 15:38:40.797 INFO [xx-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [5,125] milliseconds.
26-Nov-2016 15:38:45.719 SEVERE [xx-startStop-1] 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: [
  @(ioc/)] becasue:
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in ioc/
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	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:988)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:164)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:133)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:78)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4640)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5247)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1703)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	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.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.json.JsonLoader'
 by args: [
  @(ioc/)] becasue:
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in ioc/
	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:988)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:113)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:85)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:15)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:373)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:101)
	... 18 more
Caused by: java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in ioc/
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	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:988)
	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.<init>(JsonLoader.java:41)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:19)
	... 25 more
2 回复

本地电脑可以。。
服务器不行, 好像 war包 没被解压出来

@javanan 那就设置为解压嘛

添加回复
请先登陆
回到顶部