运行报错,java.lang.RuntimeException: Can not create instance of class: com.jcbase.conf.JcConfig

严重: Exception starting filter jfinal

java.lang.RuntimeException: Can not create instance of class: com.jcbase.conf.JcConfig

at com.jfinal.core.JFinalFilter.createJFinalConfig(JFinalFilter.java:102)

at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:47)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)

at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

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:744)

Caused by: java.lang.ClassNotFoundException: com.jcbase.conf.JcConfig

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:190)

at com.jfinal.core.JFinalFilter.createJFinalConfig(JFinalFilter.java:100)

... 18 more


评论区

JFinal

2018-02-24 13:22

注意看这句: Caused by: java.lang.ClassNotFoundException: com.jcbase.conf.JcConfig

class not found exception 这个不必多说了

热门反馈

扫码入社