NutzCN Logo
问答 run as时出现java.lang.NoClassDefFoundError: starGIS/VRStar/Core/DataEngine/DataSource
发布于 3049天前 作者 qq_256d0369 1686 次浏览 复制 上一个帖子 下一个帖子
标签:

ALL Nutz Log via Log4jLogAdapter
2016-08-17 14:46:37,383 [Thread-2] INFO [org.nutz.log.Logs] - Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2016-08-17 14:46:37,399 [Thread-2] INFO [org.nutz.mvc.NutFilter] - NutFilter[nutz] starting ...
2016-08-17 14:46:38,696 [Thread-2] INFO [org.nutz.mvc.impl.NutLoading] - Nutz Version : 1.b.49.r2 2013-09-11
2016-08-17 14:46:38,696 [Thread-2] INFO [org.nutz.mvc.impl.NutLoading] - Nutz.Mvc[nutz] is initializing ...
2016-08-17 14:46:38,708 [Thread-2] INFO [org.nutz.mvc.impl.NutLoading] - !!!Your application without @IocBy supporting
2016-08-17 14:46:38,708 [Thread-2] INFO [org.nutz.mvc.impl.NutLoading] - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
八月 17, 2016 2:46:38 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
java.lang.NoClassDefFoundError: starGIS/VRStar/Core/DataEngine/DataSource
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at org.nutz.mvc.impl.Loadings.isModule(Loadings.java:268)
at org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:138)
at org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:129)
at org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:108)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:97)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:57)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:98)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4542)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5220)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5215)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: starGIS.VRStar.Core.DataEngine.DataSource
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
... 24 more

八月 17, 2016 2:46:38 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
八月 17, 2016 2:46:38 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/ZCDataDisplay] startup failed due to previous errors
八月 17, 2016 2:46:38 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/ZCDataDisplay] registered the JDBC 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.
八月 17, 2016 2:46:38 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/ZCDataDisplay] registered the JDBC 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.
八月 17, 2016 2:46:38 下午 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["http-bio-8080"]
八月 17, 2016 2:46:38 下午 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
八月 17, 2016 2:46:38 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2063 ms

注:datasource是需要调用JNI函数,jni库在setup中load。

3 回复

日志改成debug,然后初始化代码放在mainmodule的static块里面,并且打断点

来自炫酷的 NutzCN

打断点不进去

日志改为DEBUG, 贴出来

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