请问这是什么鬼错误,为什么jfinal会报spring的错误

NFO: Unsanitized stacktrace from failed start...

java.lang.IllegalArgumentException: javax.faces.context.ExceptionHandlerFactory

at javax.faces.FactoryFinder.validateFactoryName(FactoryFinder.java:650)

at javax.faces.FactoryFinder.setFactory(FactoryFinder.java:295)

at com.sun.faces.config.processor.FactoryConfigProcessor.setFactory(FactoryConfigProcessor.java:279)

at com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:235)

at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:189)

at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:332)

at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)

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

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

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

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

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

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

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

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

七月 08, 2019 3:09:46 下午 org.apache.catalina.core.StandardContext listenerStart

SEVERE: Exception sending context initialized event to listener instance of class [com.sun.faces.config.ConfigureListener]

com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.context.ExceptionHandlerFactory

at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)

at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)

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

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

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

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

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

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

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

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

Caused by: java.lang.IllegalArgumentException: javax.faces.context.ExceptionHandlerFactory

at javax.faces.FactoryFinder.validateFactoryName(FactoryFinder.java:650)

at javax.faces.FactoryFinder.setFactory(FactoryFinder.java:295)

at com.sun.faces.config.processor.FactoryConfigProcessor.setFactory(FactoryConfigProcessor.java:279)

at com.sun.faces.config.processor.FactoryConfigProcessor.processFactories(FactoryConfigProcessor.java:235)

at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:189)

at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:332)

... 15 more

七月 08, 2019 3:09:46 下午 org.apache.catalina.core.StandardContext startInternal

SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file

七月 08, 2019 3:09:46 下午 org.apache.catalina.core.StandardContext startInternal

SEVERE: Context [/TRSL] startup failed due to previous errors

七月 08, 2019 3:09:46 下午 com.sun.faces.config.ConfigureListener contextDestroyed

SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime

java.lang.IllegalStateException: 启动时没有正确初始化应用程序,无法找到工厂:javax.faces.application.ApplicationFactory

at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:263)

at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)

at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:312)

at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4815)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5474)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)

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

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

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

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

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

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

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

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


评论区

JFinal

2019-07-08 22:47

整个异常中都没出现 jfinal 字眼,肯定是与 jfinal 无关的

将关注点转移到异常的 cause 部分:
Caused by: java.lang.IllegalArgumentException: javax.faces.context.ExceptionHandlerFactory

1659811173

2019-09-10 16:32

热门反馈

扫码入社