NutzCN Logo
问答 nutz集成jetbrick-template,启动报错
发布于 2732天前 作者 frede2010 1996 次浏览 复制 上一个帖子 下一个帖子
标签:

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
13 回复

看上去编译问题

好像不是编译问题,我把jetbrick-template相关的都去掉,就能启动了。
这个跟过滤器有关系吗?除了以上2点还有其他地方需要配置吗?
另外jar包我添加了4个
•antlr4-runtime-4.3.jar
•slf4j-api-1.7.7
•jetbrick-commons-2.1.1.jar
•jetbrick-template-nutz-2.1.2.jar

jdk和eclipse的详细版本是多少? clean看看,报错的是jdk读取类文件的时候抛出异常

jetbrick-commons-2.1.2.jar
jetbrick-template-2.1.2.jar
jetbrick-template-nutz-2.1.2.jar
jetbrick-template-web-2.1.2.jar
antlr-4.3-complete.jar
antlr-runtime-4.3.jar
slf4j-api-1.7.21.jar

一共要导入这些包, 再检查下jetbrick-template.properties
还有web.xml里要加入

<context-param>
        <param-name>jetbrick-template-config-location</param-name>
        <param-value>/WEB-INF/jetbrick-template.properties</param-value>
    </context-param>

jetbrick-template好久没更新了 我已经换用ibeetl了

@wendal clean了也不行 ,
Apache Tomcat/8.5.15,
jdk1.8.0_05-b13,
eclipse4.6.3

@howe 所以这个jetbrick-template.properties是要放在WEB-INF下吗?我这边是按照进阶教程文档里面设置的==!

jdk换最新版,太老了

jdk 1.8 还老啊。。。

非常老的jdk8u5,现在都jdk8u131了

换成jdk8u131依然报同样的错。。

启动日志发全

七月 01, 2017 1:49:35 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:oob' did not find a matching property.
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.0.44
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          May 10 2017 17:21:09 UTC
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.0.44.0
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 10
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            10.0
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_131\jre
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_131-b11
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         D:\Programing\apache-tomcat-8.0.44
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:61693
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\Programing\apache-tomcat-8.0.44
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\Programing\apache-tomcat-8.0.44\endorsed
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
七月 01, 2017 1:49:35 下午 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: C:\Program Files\Java\jdk1.8.0_131\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.8.0_131\jre\bin;C:/Program Files/Java/jdk1.8.0_05/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_05/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_05/bin/../jre/lib/amd64;D:\app\Imey\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Java\jdk1.8.0_05\bin;D:\Programing\TortoiseSVN\bin;D:\Programing\WinSCP\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\Programing\eclipse;;.
七月 01, 2017 1:49:35 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
七月 01, 2017 1:49:35 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
七月 01, 2017 1:49:35 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
七月 01, 2017 1:49:35 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
七月 01, 2017 1:49:35 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 839 ms
七月 01, 2017 1:49:35 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
七月 01, 2017 1:49:35 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.44
七月 01, 2017 1:49:37 下午 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.
七月 01, 2017 1:49:37 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Shiro environment
2017-07-01 13:49:37,392 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:128) INFO  - Starting Shiro environment initialization.
2017-07-01 13:49:37,424 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:76) DEBUG - Checking any specified config locations.
2017-07-01 13:49:37,427 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:81) DEBUG - No INI instance or config locations specified.  Trying default config locations.
2017-07-01 13:49:37,436 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini]
2017-07-01 13:49:37,440 org.apache.shiro.config.Ini.load(Ini.java:342) DEBUG - Parsing [main]
2017-07-01 13:49:37,441 org.apache.shiro.config.Ini.load(Ini.java:342) DEBUG - Parsing [urls]
2017-07-01 13:49:37,442 org.apache.shiro.web.env.IniWebEnvironment.getDefaultIni(IniWebEnvironment.java:136) DEBUG - Discovered non-empty INI configuration at location 'classpath:shiro.ini'.  Using for configuration.
2017-07-01 13:49:37,447 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=urls]
2017-07-01 13:49:37,744 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=urls]
2017-07-01 13:49:37,757 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/*] from String definition [anon]
2017-07-01 13:49:37,759 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/*] to filter [anon] with config [null]
2017-07-01 13:49:37,763 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:136) DEBUG - Published WebEnvironment as ServletContext attribute with name [org.apache.shiro.web.env.EnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEY]
2017-07-01 13:49:37,764 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:141) INFO  - Shiro environment initialized in 369 ms.
2017-07-01 13:49:37,845 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO  - NutFilter[nutz] starting ...
2017-07-01 13:49:38,041 org.nutz.resource.Scans.<init>(Scans.java:486) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\nutz-1.r.56.r3.jar], FileSystemResourceLocation [root=D:\Programing\eclipse], FileSystemResourceLocation [root=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\classes], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.0.44\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.0.44\bin\tomcat-juli.jar], JarResourceLocation [jarPath=C:\Program Files\Java\jdk1.8.0_131\lib\tools.jar]]
2017-07-01 13:49:38,306 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\commons-email-1.3.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\commons-lang-2.5.jar], FileSystemResourceLocation [root=D:\Programing\eclipse], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\log4j-1.2.17.jar], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.0.44\bin\tomcat-juli.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-jstlel-1.2.5.jar], JarResourceLocation [jarPath=C:\Program Files\Java\jdk1.8.0_131\lib\tools.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\quartz-jobs-2.2.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\ojdbc14.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\nutz-1.r.56.r3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\javax.mail-1.5.2.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\quartz-2.2.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-spec-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\druid-1.0.16.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\slf4j-log4j12-1.7.21.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\json-lib-2.2.3-jdk15.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\mysql-connector-java-5.1.37.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\json.jar], JarResourceLocation [jarPath=D:\Programing\apache-tomcat-8.0.44\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\commons-logging-1.0.4.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\shiro-all-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-compat-1.2.5.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\slf4j-api-1.7.21.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\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\tmp1\wtpwebapps\oob\WEB-INF\lib\taglibs-standard-impl-1.2.5.jar], FileSystemResourceLocation [root=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\classes], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\commons-beanutils-1.8.3.jar], JarResourceLocation [jarPath=D:\Programing\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\oob\WEB-INF\lib\nutz-integration-shiro-1.b.53.r2.jar]]
2017-07-01 13:49:38,311 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.flatworld.MainModule>
七月 01, 2017 1:49:38 下午 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:3521)
	at java.lang.Class.annotationData(Class.java:3510)
	at java.lang.Class.getAnnotation(Class.java:3415)
	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: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:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	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:748)

七月 01, 2017 1:49:38 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
七月 01, 2017 1:49:38 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/oob] startup failed due to previous errors
七月 01, 2017 1:49:38 下午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
七月 01, 2017 1:49:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
七月 01, 2017 1:49:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
七月 01, 2017 1:49:38 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2744 ms

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