NutzCN Logo
问答 添加了jetx:html后就报错了
发布于 2345天前 作者 qq_0f153e81 1259 次浏览 复制 上一个帖子 下一个帖子
标签:
六月 14, 2018 3:58:38 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:AnswerActivity' did not find a matching property.
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.0.50
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Feb 7 2018 20:06:05 UTC
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.0.50.0
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             F:\Software\tts9\jdk1.8.0_71\jre
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_71-b15
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         E:\java_file\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         F:\Software\apache-tomcat-8.0.50
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=E:\java_file\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=F:\Software\apache-tomcat-8.0.50
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=E:\java_file\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=F:\Software\apache-tomcat-8.0.50\endorsed
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
六月 14, 2018 3:58:38 下午 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: F:\Software\tts9\jdk1.8.0_71\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:/Software/tts9/jdk1.8.0_71/bin/../jre/bin/server;F:/Software/tts9/jdk1.8.0_71/bin/../jre/bin;F:/Software/tts9/jdk1.8.0_71/bin/../jre/lib/amd64;F:\Software\Python\;F:\Software\Python\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;F:\Software\apache-tomcat-7.0.53\bin;%TOMCAT_HOME%\bin;F:\Software\apache-tomcat-7.0.53\lib;F:\Software\MySQL5.5\bin;F:\Software\tts9\jdk1.8.0_71\bin;;F:\Software\eclipse;;.
六月 14, 2018 3:58:38 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
六月 14, 2018 3:58:38 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
六月 14, 2018 3:58:38 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
六月 14, 2018 3:58:38 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
六月 14, 2018 3:58:38 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 872 ms
六月 14, 2018 3:58:39 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
六月 14, 2018 3:58:39 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.50
六月 14, 2018 3:58:40 下午 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.
18-06-14 15:58:40.394 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
18-06-14 15:58:40.593 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
18-06-14 15:58:40.621 DEBUG [localhost-startStop-1] Locations count=4 time use 13ms
18-06-14 15:58:40.627 DEBUG [localhost-startStop-1] Locations count=10 time use 6ms
18-06-14 15:58:40.643 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
18-06-14 15:58:40.647 INFO [localhost-startStop-1] Nutz Version : 1.r.65 
18-06-14 15:58:40.648 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
18-06-14 15:58:40.648 DEBUG [localhost-startStop-1] Web Container Information:
18-06-14 15:58:40.650 DEBUG [localhost-startStop-1]  - Default Charset : UTF-8
18-06-14 15:58:40.650 DEBUG [localhost-startStop-1]  - Current . path  : F:\Software\eclipse\.
18-06-14 15:58:40.650 DEBUG [localhost-startStop-1]  - Java Version    : 1.8.0_71
18-06-14 15:58:40.651 DEBUG [localhost-startStop-1]  - File separator  : \
18-06-14 15:58:40.651 DEBUG [localhost-startStop-1]  - Timezone        : Asia/Shanghai
18-06-14 15:58:40.651 DEBUG [localhost-startStop-1]  - OS              : Windows 7 amd64
18-06-14 15:58:40.652 DEBUG [localhost-startStop-1]  - ServerInfo      : Apache Tomcat/8.0.50
18-06-14 15:58:40.652 DEBUG [localhost-startStop-1]  - Servlet API     : 3.1
18-06-14 15:58:40.653 DEBUG [localhost-startStop-1]  - ContextPath     : /AnswerActivity
18-06-14 15:58:40.653 DEBUG [localhost-startStop-1]  - context.tempdir : E:\java_file\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AnswerActivity
18-06-14 15:58:40.653 DEBUG [localhost-startStop-1]  - MainModule      : com.answer.MainModule
18-06-14 15:58:40.655 DEBUG [localhost-startStop-1] >> app.root = E:/java_file/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/AnswerActivity
18-06-14 15:58:40.737 DEBUG [localhost-startStop-1] Using 95 castor for Castors
18-06-14 15:58:40.738 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.answer", "*tx", "*async"],init=[])
18-06-14 15:58:40.785 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
18-06-14 15:58:40.785 DEBUG [localhost-startStop-1] loading [dao.js]
18-06-14 15:58:40.791 DEBUG [localhost-startStop-1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
18-06-14 15:58:40.802 INFO [localhost-startStop-1]  > scan 'com.answer'
18-06-14 15:58:40.807 DEBUG [localhost-startStop-1] Found 10 resource by src( com/answer/ ) , regex( ^.+[.]class$ )
18-06-14 15:58:40.827 INFO [localhost-startStop-1]    > add 'answerModule                            ' - com.answer.module.AnswerModule
18-06-14 15:58:40.839 INFO [localhost-startStop-1]    > add 'userModule                              ' - com.answer.module.UserModule
18-06-14 15:58:40.867 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
18-06-14 15:58:40.874 INFO [localhost-startStop-1] ... NutIoc init complete
18-06-14 15:58:40.878 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
18-06-14 15:58:40.882 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
18-06-14 15:58:40.890 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
18-06-14 15:58:40.901 DEBUG [localhost-startStop-1] module class location 'file:/E:/java_file/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/AnswerActivity/WEB-INF/classes/'
18-06-14 15:58:40.901 DEBUG [localhost-startStop-1]  > scan 'com.answer'
18-06-14 15:58:40.906 DEBUG [localhost-startStop-1] Found 10 resource by src( com/answer/ ) , regex( ^.+[.]class$ )
18-06-14 15:58:40.913 DEBUG [localhost-startStop-1]    >> add 'com.answer.module.AnswerModule'
18-06-14 15:58:40.913 DEBUG [localhost-startStop-1]    >> add 'com.answer.module.UserModule'
18-06-14 15:58:40.914 DEBUG [localhost-startStop-1] Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
18-06-14 15:58:40.937 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
18-06-14 15:58:40.958 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
18-06-14 15:58:40.970 DEBUG [localhost-startStop-1] Eval FAIL!! : public void com.answer.module.AnswerModule.toShow(java.lang.String)
java.lang.RuntimeException: Can not eval jetx:book_index.html("jetx:book_index.html") View for public void com.answer.module.AnswerModule.toShow(java.lang.String)
	at org.nutz.lang.Lang.makeThrow(Lang.java:133)
	at org.nutz.mvc.view.ViewZone.makeView(ViewZone.java:90)
	at org.nutz.mvc.impl.processor.ViewProcessor.evalView(ViewProcessor.java:89)
	at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:31)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	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:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	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:745)
18-06-14 15:58:40.972 ERROR [localhost-startStop-1] Error happend during start serivce!
java.lang.RuntimeException: Can not eval jetx:book_index.html("jetx:book_index.html") View for public void com.answer.module.AnswerModule.toShow(java.lang.String)
	at org.nutz.lang.Lang.makeThrow(Lang.java:133)
	at org.nutz.mvc.view.ViewZone.makeView(ViewZone.java:90)
	at org.nutz.mvc.impl.processor.ViewProcessor.evalView(ViewProcessor.java:89)
	at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:31)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	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:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	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:745)
18-06-14 15:58:40.974 ERROR [localhost-startStop-1] try to depose ioc
18-06-14 15:58:40.974 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@525410541 is closing. startup date [18-06-14 15:58:40.871]
18-06-14 15:58:40.975 INFO [localhost-startStop-1] org.nutz.ioc.impl.NutIoc@525410541 is deposed. startup date [18-06-14 15:58:40.871]
六月 14, 2018 3:58:40 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: java.lang.RuntimeException: Can not eval jetx:book_index.html("jetx:book_index.html") View for public void com.answer.module.AnswerModule.toShow(java.lang.String)
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	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:4708)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
	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:745)
Caused by: java.lang.RuntimeException: Can not eval jetx:book_index.html("jetx:book_index.html") View for public void com.answer.module.AnswerModule.toShow(java.lang.String)
	at org.nutz.lang.Lang.makeThrow(Lang.java:133)
	at org.nutz.mvc.view.ViewZone.makeView(ViewZone.java:90)
	at org.nutz.mvc.impl.processor.ViewProcessor.evalView(ViewProcessor.java:89)
	at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:31)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 15 more

六月 14, 2018 3:58:40 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
六月 14, 2018 3:58:40 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/AnswerActivity] startup failed due to previous errors
六月 14, 2018 3:58:41 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
六月 14, 2018 3:58:41 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
六月 14, 2018 3:58:41 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2024 ms

1 回复

MainModule没加@Views

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