MainModule @Views({FreemarkerViewMaker.class})
nutz-plugins-views的JAR包是我自己打的最新的代码
错误信息
D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\catalina.bat run
[2016-06-15 04:48:51,053] Artifact nutz-template:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\JetBrains\IntelliJ IDEA 2016.1\.IntelliJIdea\system\tomcat\Unnamed_nutz-template_2"
Using CATALINA_HOME: "D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24"
Using CATALINA_TMPDIR: "D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\temp"
Using JRE_HOME: "D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\jdk1.7.0_79"
Using CLASSPATH: "D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\bootstrap.jar;D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\tomcat-juli.jar"
15-Jun-2016 16:48:52.266 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.24
15-Jun-2016 16:48:52.268 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jul 1 2015 20:19:55 UTC
15-Jun-2016 16:48:52.268 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.24.0
15-Jun-2016 16:48:52.268 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 8.1
15-Jun-2016 16:48:52.268 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3
15-Jun-2016 16:48:52.268 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\jdk1.7.0_79\jre
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.7.0_79-b15
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\JetBrains\IntelliJ IDEA 2016.1\.IntelliJIdea\system\tomcat\Unnamed_nutz-template_2
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
15-Jun-2016 16:48:52.269 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
15-Jun-2016 16:48:52.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\JetBrains\IntelliJ IDEA 2016.1\.IntelliJIdea\system\tomcat\Unnamed_nutz-template_2\conf\logging.properties
15-Jun-2016 16:48:52.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
15-Jun-2016 16:48:52.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\endorsed
15-Jun-2016 16:48:52.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\JetBrains\IntelliJ IDEA 2016.1\.IntelliJIdea\system\tomcat\Unnamed_nutz-template_2
15-Jun-2016 16:48:52.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24
15-Jun-2016 16:48:52.271 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\temp
15-Jun-2016 16:48:52.272 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\jdk1.7.0_79\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;D:\SOFTWARE\DEVELOP_TOOLS\jdk1.8.0_25\bin;D:\SOFTWARE\DEVELOP_TOOLS\jdk1.8.0_25\jre\bin;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;D:\SOFTWARE\DEVELOP_TOOLS\go\bin;C:\Program Files\Bandizip\7z;C:\adb;C:\Users\lailaihui\AppData\Local\atom\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Bandizip\7z;.
15-Jun-2016 16:48:52.444 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
15-Jun-2016 16:48:52.466 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
15-Jun-2016 16:48:52.469 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
15-Jun-2016 16:48:52.477 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
15-Jun-2016 16:48:52.477 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 834 ms
15-Jun-2016 16:48:52.519 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
15-Jun-2016 16:48:52.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.24
15-Jun-2016 16:48:52.530 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
15-Jun-2016 16:48:52.541 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
15-Jun-2016 16:48:52.543 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 65 ms
Connected to server
[2016-06-15 04:48:52,624] Artifact nutz-template:war exploded: Artifact is being deployed, please wait...
15-Jun-2016 16:48:55.048 INFO [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2016-06-15 16:48:55,259 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO - NutFilter[nutz] starting ...
2016-06-15 16:48:55,520 org.nutz.resource.Scans.<init>(Scans.java:486) DEBUG - Locations for Scans:
[FileSystemResourceLocation [root=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin], FileSystemResourceLocation [root=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\classes], JarResourceLocation [jarPath=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\nutz-1.r.56.jar], JarResourceLocation [jarPath=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\tomcat-juli.jar]]
2016-06-15 16:48:55,912 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\freemarker-2.3.23.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\druid-1.0.18.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\javax.servlet.jsp-2.1.0.v201105211820.jar], FileSystemResourceLocation [root=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin], FileSystemResourceLocation [root=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\classes], JarResourceLocation [jarPath=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\javax.mail.glassfish-1.4.1.v201005082020.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\javax.activation-1.1.0.v201105071233.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\jetty-all-server-7.6.18.v20150929.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\javax.security.auth.message-1.0.0.v201108011116.jar], JarResourceLocation [jarPath=D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\bin\tomcat-juli.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\log4j-1.2.17.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\mysql-connector-java-5.1.38.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\javax.servlet-2.5.0.v201103041518.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\nutz-web-1.r.56.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\nutz-1.r.56.jar], JarResourceLocation [jarPath=D:\DEVELOP\JAVA\IDEASOURCE\nutz-template\target\nutz-template\WEB-INF\lib\javax.annotation-1.1.0.v201108011116.jar]]
2016-06-15 16:48:55,918 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.cc.template.MainModule>
15-Jun-2016 16:48:55.922 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
15-Jun-2016 16:48:55.922 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2016-06-15 04:48:55,935] Artifact nutz-template:war exploded: Error during artifact deployment. See server log for details.
15-Jun-2016 16:49:02.536 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\webapps\manager
15-Jun-2016 16:49:02.682 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\WORKSPACE\SOFTWARE\DEVELOP_TOOLS\apache-tomcat-8.0.24\webapps\manager has finished in 145 ms
错误信息
15-Jun-2016 16:48:55.921 SEVERE [RMI TCP Connection(3)-127.0.0.1] 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:715)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:522)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:348)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:283)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:117)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:70)
at java.lang.Class.initAnnotationsIfNecessary(Class.java:3271)
at java.lang.Class.getAnnotation(Class.java:3219)
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 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.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4574)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5193)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1648)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:463)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:413)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
at sun.rmi.transport.Transport$2.run(Transport.java:202)
at sun.rmi.transport.Transport$2.run(Transport.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)