jfinal ext AutoBindRoutes 错误

空城难入 发布于 2015/05/16 22:42
阅读 606
收藏 0
在eclipse中用resin4.0运行正常,但单独用resin运行的时候报如下错误:
java.lang.NoClassDefFoundError: webapps/ROOT/WEB-INF/classes/cn/edu/thcic/common/exception/Exceptions
(wrong name: cn/edu/thcic/common/exception/Exceptions)  javax.servlet.ServletException: java.lang.NoClassDefFoundError: webapps/ROOT/WEB-INF/classes/cn/edu/thcic/common/exception/Exceptions
(wrong name: cn/edu/thcic/common/exception/Exceptions)
	at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:234)
	at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:169)
	at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:3985)
	at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:789)
	at com.caucho.server.host.Host.buildInvocation(Host.java:753)
	at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:319)
	at com.caucho.server.cluster.ServletService.buildInvocation(ServletService.java:1047)
	at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:250)
	at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:223)
	at com.caucho.server.http.AbstractHttpRequest.buildInvocation(AbstractHttpRequest.java:1603)
	at com.caucho.server.http.AbstractHttpRequest.getInvocation(AbstractHttpRequest.java:1576)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:820)
	at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1346)
	at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1302)
	at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1286)
	at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1194)
	at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:993)
	at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
	at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
	at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
	at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
	at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
	at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Caused by: java.lang.NoClassDefFoundError: webapps/ROOT/WEB-INF/classes/cn/edu/thcic/common/exception/Exceptions
(wrong name: cn/edu/thcic/common/exception/Exceptions)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:274)
	at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1592)
	at com.caucho.loader.SystemClassLoader.loadClassImpl(SystemClassLoader.java:253)
	at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1590)
	at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1590)
	at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1590)
	at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1521)
	at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1502)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:191)
	at com.jfinal.ext.kit.Reflect.forName(Reflect.java:692)
	at com.jfinal.ext.kit.Reflect.on(Reflect.java:85)
	at com.jfinal.ext.kit.ClassSearcher.extraction(ClassSearcher.java:49)
	at com.jfinal.ext.kit.ClassSearcher.search(ClassSearcher.java:144)
	at com.jfinal.ext.route.AutoBindRoutes.config(AutoBindRoutes.java:73)
	at com.jfinal.config.Routes.add(Routes.java:40)
	at cn.edu.thcic.config.JfinalConfig.configRoute(JfinalConfig.java:74)
	at com.jfinal.core.Config.configJFinal(Config.java:47)
	at com.jfinal.core.JFinal.init(JFinal.java:67)
	at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
	at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:204)
	at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:169)
	at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:3985)
	at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:789)
	at com.caucho.server.host.Host.buildInvocation(Host.java:753)
	at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:319)
	at com.caucho.server.cluster.ServletService.buildInvocation(ServletService.java:1047)
	at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:250)
	at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:223)
	at com.caucho.server.http.AbstractHttpRequest.buildInvocation(AbstractHttpRequest.java:1603)
	at com.caucho.server.http.AbstractHttpRequest.getInvocation(AbstractHttpRequest.java:1576)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:820)
	at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1346)
	at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1302)
	at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1286)
	at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1194)
	at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:993)
	at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
	at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
	at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
	at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
	at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
	at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) 

加载中
0
空城难入
空城难入
………………………………………………
返回顶部
顶部