NutzCN Logo
问答 关于wzflow部署到tomcat7.0失败的问题
发布于 3213天前 作者 xuanaiwu 2840 次浏览 复制 上一个帖子 下一个帖子
标签:

严重: Exception starting filter nutz
org.nutz.mvc.NutConfigException: java.lang.ClassNotFoundException: com.auto.modules.MainModule

提示没有找到这个类,但wzflow是可以找到这个类的。我用的是jdk8、tomcat7,请问是哪里出问题了?

5 回复

如果不是oracle数据库,直接把这段删掉

编译错误那段

@wendal 删除后报这个错误了:
2016-03-06 16:06:40,359 [DEBUG][org.nutz.mvc.config.AbstractNutConfig] - MainModule: <com.auto.modules.MainModule>
三月 06, 2016 4:06:40 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseArray(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
at java.lang.Class.createAnnotationData(Unknown Source)
at java.lang.Class.annotationData(Unknown Source)
at java.lang.Class.getAnnotation(Unknown Source)
at org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:47)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:18)
at org.nutz.mvc.NutFilter.init(NutFilter.java:77)
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.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4908)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5602)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)
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)

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