NutzCN Logo
问答 我用idea写的nutzbook的那个demo,每次启动报异常
发布于 2009天前 作者 wx_u89khf8q22b43620jdvs 1216 次浏览 复制 上一个帖子 下一个帖子
标签:

22-Jun-2019 15:32:54.629 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log Initializing Shiro environment
22-Jun-2019 15:33:05.201 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
22-Jun-2019 15:33:05.201 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
22-Jun-2019 15:33:05.203 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@493d41fb')
22-Jun-2019 15:33:06.081 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [jfinal]
java.lang.RuntimeException: Can not create instance of class: com.cheng.common.MainConfig
at com.jfinal.core.JFinalFilter.createJFinalConfig(JFinalFilter.java:122)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:60)
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.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4637)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1140)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.cheng.common.MainConfig
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.jfinal.core.JFinalFilter.createJFinalConfig(JFinalFilter.java:119)
... 17 more

2 回复

jfinal的问题这里解答不了

没事了 tomcat里面有其他的东西 我新解压了一个tomcat就好了

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