项目启动报java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.> 错误,找了很久原来是web.xml文件不知道为什么被替换掉了,把原来的还原久解决了
报错信息:
2012-3-1 上午12时28分17秒 CST> <Error> <HTTP> <BEA-101249> <[ServletContext@1978456656[app:_appsdir_zhoubao_dir module:zhoubao path:/zhoubao spec-version:2.5]]: Servlet class javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath D:\Oracle\Middleware\user_projects\domains\base_domain\autodeploy\zhoubao\WEB-INF\classes;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\antlr-2.7.6.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\aopalliance-1.0.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\aspectjrt-1.6.9.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\aspectjweaver-1.6.9.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\cas-client-2.0.11-xkj.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\cas-client-core-3.1.3.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\cglib-nodep-2.2.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-beanutils-1.8.3.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-codec-1.4.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-collections-3.2.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-dbcp-1.4.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-fileupload-1.2.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-io-1.4.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-lang-2.5.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-logging-1.1.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\commons-pool-1.5.4.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\dom4j-1.6.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\ehcache-core-2.4.3.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\freemarker-2.3.16.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\guava-r06.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\hibernate-annotations-3.5.5-Final.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\hibernate-commons-annotations-3.2.0.Final.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\hibernate-core-3.5.5-Final.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\hibernate-ehcache-3.5.5-Final.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\hibernate-jpa-2.0-api-1.0.0.Final.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\jackson-core-asl-1.6.0.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\jackson-mapper-asl-1.6.0.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\javassist-3.12.1.GA.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\jdom.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\json_simple-1.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\jstl-1.2.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\jta-1.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\kindeditorservlet.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\log4j-1.2.16.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\ognl-3.0.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\ojdbc14.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.aop-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.asm-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.beans-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.context-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.context.support-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.core-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.expression-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.jdbc-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.orm-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.transaction-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\org.springframework.web-3.0.5.RELEASE.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\quartz-all-1.6.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\slf4j-api-1.6.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\slf4j-log4j12-1.6.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\struts2-core-2.2.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\struts2-spring-plugin-2.2.1.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\suncco-core-weblogic-v1.2.jar;D:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\_appsdir_zhoubao_dir\3xvr9r\war\WEB-INF\lib\xwork-core-2.2.1.jar.
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.>
<2012-3-1 上午12时28分17秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "Faces Servlet" failed to preload on startup in Web application: "zhoubao".
javax.servlet.ServletException: [HTTP:101249][ServletContext@1978456656[app:_appsdir_zhoubao_dir module:zhoubao path:/zhoubao spec-version:2.5]]: Servlet class javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:533)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041)
Truncated. see log file for complete stacktrace
>
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] AbstractApplicationContext.doClose(1002) | Closing Root WebApplicationContext: startup date [Thu Mar 01 00:28:12 CST 2012]; root of context hierarchy
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] DefaultLifecycleProcessor$LifecycleGroup.stop(345) | Stopping beans in phase 2147483647
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] DefaultSingletonBeanRegistry.destroySingletons(422) | Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@22893e69: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sessionFactory,sessionFactoryDB,weeklyDao,weeklyManDao,weeklyViewDao,xm_Uap_Org_ViewDao,xm_Uap_User_ViewDao,addBookDao,msgRemiDao,weeklyManager,weeklyViewManager,xm_Uap_Org_ViewManager,xm_Uap_User_ViewManager,addBookManager,msgRemiManager,weeklyAction,weeklyViewAction,mainAction,xm_Uap_User_ViewAction,addBookAction,msgRemiAction,transactionManager,transactionManagerDB,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,localQuartzScheduler,quartzTrigger,quartzBean,msgRemiQuartz]; root of factory hierarchy
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] SchedulerFactoryBean.destroy(760) | Shutting down Quartz Scheduler
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] QuartzScheduler.shutdown(570) | Scheduler localQuartzScheduler_$_NON_CLUSTERED shutting down.
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] QuartzScheduler.standby(496) | Scheduler localQuartzScheduler_$_NON_CLUSTERED paused.
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] QuartzScheduler.shutdown(621) | Scheduler localQuartzScheduler_$_NON_CLUSTERED shutdown complete.
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] AbstractSessionFactoryBean.destroy(246) | Closing Hibernate SessionFactory
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] SessionFactoryImpl.close(940) | closing
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] AbstractSessionFactoryBean.destroy(246) | Closing Hibernate SessionFactory
[suncco_security] INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [2012-03-01 00:28:17] SessionFactoryImpl.close(940) | closing
<2012-3-1 上午12时28分17秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_zhoubao_dir'.
weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "zhoubao".
javax.servlet.ServletException: [HTTP:101249][ServletContext@1978456656[app:_appsdir_zhoubao_dir module:zhoubao path:/zhoubao spec-version:2.5]]: Servlet class javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:533)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1374)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:40)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
javax.servlet.ServletException: [HTTP:101249][ServletContext@1978456656[app:_appsdir_zhoubao_dir module:zhoubao path:/zhoubao spec-version:2.5]]: Servlet class javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:533)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041)
Truncated. see log file for complete stacktrace
posted on 2012-03-01 00:32 阳光总在风雨后001 阅读(8211) 评论(0) 编辑 收藏 举报