1.MainModule配置了@Views({JetTemplateViewMaker.class})
2.conf下增加了jetbrick-template.properties文件
是还要在web.xml中配置什么吗?
2017-06-30 19:19:08,485 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO - NutFilter[nutz] starting ...
2017-06-30 19:19:08,622 org.nutz.resource.Scans.<init>(Scans.java:486) DEBUG - Locations for Scans:
[FileSystemResourceLocation [root=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\classes], JarResourceLocation [jarPath=C:\Program Files\Java\jdk1.8.0_05\lib\tools.jar], FileSystemResourceLocation [root=D:\Programing\eclipse], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.5.15\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\nutz-1.r.56.r3.jar], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.5.15\bin\tomcat-juli.jar]]
2017-06-30 19:19:08,829 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\ojdbc14.jar], FileSystemResourceLocation [root=D:\Programing\eclipse], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\quartz-jobs-2.2.3.jar], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.5.15\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\commons-email-1.3.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\commons-lang-2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-compat-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\nutz-1.r.56.r3.jar], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.5.15\bin\tomcat-juli.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\mysql-connector-java-5.1.37.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\slf4j-log4j12-1.7.21.jar], FileSystemResourceLocation [root=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\classes], JarResourceLocation [jarPath=C:\Program Files\Java\jdk1.8.0_05\lib\tools.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\slf4j-api-1.7.21.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\nutz-integration-quartz-1.b.53.r3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\javax.mail-1.5.2.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-jstlel-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-impl-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\log4j-1.2.17.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\shiro-all-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\json-lib-2.2.3-jdk15.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\commons-beanutils-1.8.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\commons-logging-1.0.4.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-spec-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\quartz-2.2.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\druid-1.0.16.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\nutz-integration-shiro-1.b.53.r2.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\oob\WEB-INF\lib\json.jar]]
2017-06-30 19:19:08,834 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.flatworld.MainModule>
六月 30, 2017 7:19:08 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [nutz]
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3410)
at java.lang.Class.annotationData(Class.java:3399)
at java.lang.Class.getAnnotation(Class.java:3304)
at org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:56)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:18)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at com.flatworld.mvc.FlatWorldNutFilter.init(FlatWorldNutFilter.java:22)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
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)
六月 30, 2017 7:19:08 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file