启动Tomcat报错误.
信息: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExceptionHandlerFactory' was not configured properly.
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:305)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.faces.FacesException: com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:606)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:485)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:141)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:886)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
... 11 more
Caused by: java.lang.ClassNotFoundException: com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:594)
... 16 more
2011-9-2 22:09:23 com.sun.faces.config.ConfigureListener contextInitialized
严重: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:379)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:594)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:485)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:141)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:886)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)
... 9 more
2011-9-2 22:09:23 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:379)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
... 8 more
Caused by: java.lang.ClassNotFoundException: com.coscon.cbs.exceptionhandling.CustomJSFExceptionHandlerFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:594)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:485)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:141)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:886)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)
... 9 more
2011-9-2 22:09:23 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
2011-9-2 22:09:23 org.apache.catalina.core.StandardContext startInternal
严重: Context [/cbsProject] startup failed due to previous errors
2011-9-2 22:09:23 com.sun.faces.config.ConfigureListener contextDestroyed
严重: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: 启动时没有正确初始化应用程序,无法找到工厂:javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:894)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:112)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:325)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4763)
at org.apache.catalina.core.StandardContext$4.run(StandardContext.java:5472)
at java.lang.Thread.run(Thread.java:619)
2011-9-2 22:09:23 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/cbsProject] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-9-2 22:09:23 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/cbsProject] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-9-2 22:09:23 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/cbsProject] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@159bb0c]) and a value of type [java.lang.Class] (value [class oracle.sql.TypeDescriptorFactory]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2011-9-2 22:09:23 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/cbsProject] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@719ba]) and a value of type [java.lang.Class] (value [class oracle.sql.AnyDataFactory]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2011-9-2 22:09:23 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8090"]
2011-9-2 22:09:23 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
2011-9-2 22:09:23 org.apache.catalina.startup.Catalina start
分享到:
相关推荐
jar包,官方版本,自测可用
jar包,官方版本,自测可用
jar包,官方版本,自测可用
Java Server Faces API 组件标签 API Reference 速查手册 HTML_BASIC RenderKit javax.faces.Command javax.faces.Button javax.faces.Link javax.faces.Data javax.faces.Table javax.faces.Form javax.faces...
jar包,官方版本,自测可用
在搭建spring4.3源码阅读环境的时候,spring-web项目报错,发现是少了javax.faces-api-2.2.jar文件,引入此文件可解决spring-web项目报错问题。
**jQuery Simple Tree 知识点详解** ...这个组件在网页应用中尤其适用于构建层级关系清晰、可交互的导航菜单或数据展示。 ### 1.... `jQuery` 是一个广泛使用的 JavaScript 库,简化了 DOM 操作、事件处理、动画和Ajax...
javax.faces.jar的高版本在国内网站几乎找不到,因为在研究richfaces 和primefaces,文档中说需要用到javax.faces-2.1.28或者更高版本,无奈百度搜索不到,只有想法在谷歌找,特地分享出来,想要更高版本 联系我!
Olivetti Faces是纽约大学的一个比较小的人脸库,由40个人的400张图片构成,即每个人的人脸图片为10张。每张图片的灰度级为8位,每个像素的灰度大小位于0-255之间,每张图片大小为64×64。如下图,这个图片大小是...
Olivetti Faces人脸数据集合处理 简介 本资源文件提供了Olivetti Faces人脸数据集的处理方法和相关代码。Olivetti Faces是一个经典的人脸识别数据集,包含了40个不同个体的400张灰度图像。每个个体有10张图像,这些...
2. `com.sun.faces.config.configurator.jar`:配置管理器,负责处理JSF的配置文件,如`faces-config.xml`。 3. `com.sun.faces.renderkit.jar`:渲染库,提供了将JSF组件转化为HTML或其他客户端可理解格式的代码。 ...
jar包,官方版本,自测可用
- **配置文件**:如`web.xml`和`faces-config.xml`,用于配置JSF应用的基本设置。 - **JSP 页面**:展示了如何创建和使用JSP页面来呈现用户界面。 - **设置JSF 开发环境**:需要下载JSF的参考实现和其他必需的库,并...
《Prentice Hall Core JavaServer Faces 3rd Edition May 2010》是一本深入讲解JavaServer Faces(JSF)技术的专业书籍。JSF是Java平台上的一个用于构建Web应用程序的用户界面组件框架,由Java Community Process...
jar包,官方版本,自测可用
jar包,官方版本,自测可用
JavaServer Faces(JSF)是Java平台上用于构建Web应用程序的官方标准框架,它提供了一种组件化和事件驱动的方式来创建用户界面。这个压缩包文件"JavaServer-Faces.rar"包含了关于JavaServer Faces的详细资源,特别是...
fck-faces则是FCKeditor与JSF(JavaServer Faces)框架的整合组件。JSF是一种Java的MVC(Model-View-Controller)框架,用于构建Web应用程序。fck-faces允许开发者在JSF应用中直接使用FCKeditor,提供了JSF组件,...
[CLASS]com.sun.faces.util.Util[CLASS]com.sun.faces.RIConstants[CLASS]com.sun.faces.util.Base64[CLASS]com.sun.faces.util.DebugUtil[CLASS]com.sun.faces.util.HtmlUtils[CLASS]... ...(+282个CLASS)
《Prentice Hall Sun Certified Enterprise Architect for Java EE Study Guide》是针对Java企业级架构师认证考试的一本权威学习指南,2010年1月的第二版。这本书深入探讨了Java企业版(Java EE)平台上的企业级架构...