NutzCN Logo
问答 nutz启动报错怎么办
发布于 2726天前 作者 qq_e4444c8a 1973 次浏览 复制 上一个帖子 下一个帖子
标签:

log4j: [DEBUG] 10:02:15.539 org.nutz.resource.Scans.init(Scans.java:96) - parse jar fail >> null
java.net.URISyntaxException: Illegal character in path at index 16: file:/D:/Program Files/apache-tomcat-6.0.26/webapps/askj/WEB-INF/lib/commons-lang-2.1.jar
at java.net.URI$Parser.fail(URI.java:2810)
at java.net.URI$Parser.checkChars(URI.java:2983)
at java.net.URI$Parser.parseHierarchical(URI.java:3067)
at java.net.URI$Parser.parse(URI.java:3015)
at java.net.URI.(URI.java:577)
at java.net.URL.toURI(URL.java:918)
at org.nutz.resource.impl.JarResourceLocation.(JarResourceLocation.java:69)
at org.nutz.resource.Scans.init(Scans.java:93)
at org.nutz.mvc.config.AbstractNutConfig.(AbstractNutConfig.java:43)
at org.nutz.mvc.config.FilterNutConfig.(FilterNutConfig.java:15)
at org.nutz.mvc.NutFilter._init(NutFilter.java:85)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
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:3838)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)
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.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
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:443)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

12 回复

不要把tomcat/eclipse等程序放在 带 "空格" 带 "中文" 的路径下!!

这个报的错误好像不影响项目功能

不影响,只是不好看嘛...

严重: Exception starting filter nutz
java.lang.IncompatibleClassChangeError: Class sun.net.www.protocol.jar.URLJarFile does not implement the requested interface java.io.Closeable
at org.nutz.lang.Streams.safeClose(Streams.java:392)
at org.nutz.resource.impl.JarResourceLocation.(JarResourceLocation.java:82)
at org.nutz.resource.Scans.init(Scans.java:93)
at org.nutz.mvc.config.AbstractNutConfig.(AbstractNutConfig.java:43)
at org.nutz.mvc.config.FilterNutConfig.(FilterNutConfig.java:15)
at org.nutz.mvc.NutFilter._init(NutFilter.java:85)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
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:3838)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)
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.deployDescriptor(HostConfig.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
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:443)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2017-7-7 10:13:23 org.apache.catalina.core.StandardContext start
又报了个严重错误

换 1.r.62.r2

这个是1.r.61核心库的问题?

没有找到这个版本1.r.62.r2

写错了, 是 1.r.61.r2

换成1.r.61.r2之后,上面的错误依然存在

哪个问题,完整报错信息

ps,回复按钮旁边就是贴代码/日志的按钮

多谢兽总,升级最新jar后问题解决了

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