Exception starting filter struts2
Unable to load configuration. - [unknown location]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
at cn.com.eversys.ourpass.action.AppFilterDispatcher.init(AppFilterDispatcher.java:67)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: Caught exception while loading file struts-default.xml - [unknown location]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:894)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:144)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:164)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 31 more
Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:69)
at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:190)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:181)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:167)
at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:885)
... 35 more
2012-07-17 12:02 [cn.com.eversys.ourpass.listener.ApplicationListener]-[INFO] ##Destroyed the ApplicationListener for App....
2012-07-17 12:02 [org.springframework.web.context.support.XmlWebApplicationContext]-[INFO] Closing org.springframework.web.context.support.XmlWebApplicationContext@5800d1: display name ; startup date [Tue Jul 17 12:02:19 CST 2012]; root of context hierarchy
2012-07-17 12:02 [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[INFO] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d39634: defining beans [loginDAO,registerDAO,settingDAO,friendDAO,peopleIndexDAO,peopleVoteDAO,userDao,classDao,vblogDao,tagRecordDao,storeDao,supportDao,vblogCommentDao,voteDao,offenseDao,circleDao,blogDao,messageDao,spaceLeaveWordDao,photoblumDao,circleAlbumDao,photoCommentDao,photoDao,userEventDao,circleAlbumPhotoDao,blogCommentDao,stockDao,userSelectStockDao,shortTestMationDao,tranHolidayDao,contentSupportDao,assayCommentDao,classUserAttrDao,stockWeatherDao,stockUpStopDao,adminIndexDAO,adminReserveDAO,adminNoticeDAO,adminCircleDAO,adminUserDAO,adminCommendDAO,adminStockDAO,adminAuxiliaryDAO,adminArticleDAO,adminNetDAO,adminStockCircleDAO,adminGuestDAO,adminTagDAO,adminStockprizelistDAO,adminStockstarDAO,adminStockweathertypeDAO,adminHonorDAO,adminPhotoDAO,adminBlogDAO,adminVblogDAO,adminBookmarkDAO,adminVoteDAO,adminCommentDAO,adminOffenseDAO,helpDAO,absAdminAction,adminIndexAction,adminReserveAction,adminNoticeAction,adminCircleAction,adminUserAction,adminCommendAction,adminStockAction,adminAuxiliaryAction,adminArticleAction,adminNetAction,adminStockCircleAction,adminGuestAction,adminTagAction,adminStockprizelistAction,adminStockstarAction,adminStockweathertypeAction,adminHonorAction,adminPhotoAction,adminBlogAction,adminVblogAction,adminBookmarkAction,adminVoteAction,adminCommentAction,adminOffenseAction,helpAction,peopleAction,visterAction,circleAction,circleManageIndexDAO,circleManageIndexAction,circleIndexDAO,circleAboutDAO,circleMemberDAO,circleAlbumDAO,circlePhotoDAO,circleBbsDAO,circleVoteDAO,circleBlogDAO,circleVBlogDAO,circleBookmarkDAO,circleBeatDAO,absCircleAction,circleIndexAction,circleAboutAction,circleMemberAction,circleAlbumAction,circlePhotoAction,circleUploadAction,circleBbsAction,circleVoteAction,circleBlogAction,circleVBlogAction,circleBookmarkAction,circleBeatAction,offenseDAO,offenseAction,peopleIndexAction,appListVblogAction,appListBlogAction,appListCircleAction,peopleOtheFavorAction,peopleVoteAction,peoplePersonCenterAction,peopleFavorAction,peopleCenterBlogAction,peopleBlogAction,peopleCircleAction,peopleCenterCircleAction,peopleVblogAction,userInfoAction,voteAction,photoAction,praiseAction,leaveWordAction,messageAction,stockVblogAction,fenXiAction,stockVoteAction,stockFavorAction,stockBlogAction,stockCircleAction,indexAction,testDAO,testAction,testCurdAction,ajaxAction,correctAction,loginAction,registerAction,uheadsettingAction,uinfosettingAction,upwdsettingAction,ufindpwdsettingAction,usetpwdsettingAction,friendAction,ulikesettingAction,stockIndexAction,stockPlateIndexAction,stockPlateAction,viewFinanceBlogAction,viewFinanceCircleAction,sVoteAction,viewIndexDAO,ajaxMaskVoteDAO,peopleVoteAllyDAO,fillVoteDAO,fillVoteDetailDAO,blogDAO,bookmarkDAO,vblogDAO,categoryDAO,searchDao,onlineDAO,rankDAO,tagsDAO,qindexDAO,qsearchDAO,qmyDAO,aboutDAO,viewIndexAction,ajaxMaskVoteAction,fillVoteAction,voteDetailAction,fillVoteDetailAction,blogAction,bookmarkAction,vblogAction,categoryAction,searchAction,onlineAction,rankAction,tagsAction,qIndexAction,qSearchAction,qMyAction,aboutAction,dataSource,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactionAdvisor,jdbcTemplate,simpleJdbcTemplate,namedParameterJdbcTemplate,jdbcDAOSupport,commonDaoImp,storeProcedureDAO,classDAO,popedomDAO,userLevelDAO,taskDAO,sysAutoCommentDAO,sysAutoCreateVotePeriodDAO,sysAutoRefreshOurpassGradeDAO]; root of factory hierarchy
2012-7-17 12:02:33 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2012-7-17 12:02:33 org.apache.catalina.core.StandardContext start
严重: Context [/ourpassApp2.0] startup failed due to previous errors
Unable to load configuration. - [unknown location]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
at cn.com.eversys.ourpass.action.AppFilterDispatcher.init(AppFilterDispatcher.java:67)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: Caught exception while loading file struts-default.xml - [unknown location]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:894)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:144)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:164)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
... 31 more
Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:69)
at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:190)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:181)
at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:167)
at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:885)
... 35 more
2012-07-17 12:02 [cn.com.eversys.ourpass.listener.ApplicationListener]-[INFO] ##Destroyed the ApplicationListener for App....
2012-07-17 12:02 [org.springframework.web.context.support.XmlWebApplicationContext]-[INFO] Closing org.springframework.web.context.support.XmlWebApplicationContext@5800d1: display name ; startup date [Tue Jul 17 12:02:19 CST 2012]; root of context hierarchy
2012-07-17 12:02 [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[INFO] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d39634: defining beans [loginDAO,registerDAO,settingDAO,friendDAO,peopleIndexDAO,peopleVoteDAO,userDao,classDao,vblogDao,tagRecordDao,storeDao,supportDao,vblogCommentDao,voteDao,offenseDao,circleDao,blogDao,messageDao,spaceLeaveWordDao,photoblumDao,circleAlbumDao,photoCommentDao,photoDao,userEventDao,circleAlbumPhotoDao,blogCommentDao,stockDao,userSelectStockDao,shortTestMationDao,tranHolidayDao,contentSupportDao,assayCommentDao,classUserAttrDao,stockWeatherDao,stockUpStopDao,adminIndexDAO,adminReserveDAO,adminNoticeDAO,adminCircleDAO,adminUserDAO,adminCommendDAO,adminStockDAO,adminAuxiliaryDAO,adminArticleDAO,adminNetDAO,adminStockCircleDAO,adminGuestDAO,adminTagDAO,adminStockprizelistDAO,adminStockstarDAO,adminStockweathertypeDAO,adminHonorDAO,adminPhotoDAO,adminBlogDAO,adminVblogDAO,adminBookmarkDAO,adminVoteDAO,adminCommentDAO,adminOffenseDAO,helpDAO,absAdminAction,adminIndexAction,adminReserveAction,adminNoticeAction,adminCircleAction,adminUserAction,adminCommendAction,adminStockAction,adminAuxiliaryAction,adminArticleAction,adminNetAction,adminStockCircleAction,adminGuestAction,adminTagAction,adminStockprizelistAction,adminStockstarAction,adminStockweathertypeAction,adminHonorAction,adminPhotoAction,adminBlogAction,adminVblogAction,adminBookmarkAction,adminVoteAction,adminCommentAction,adminOffenseAction,helpAction,peopleAction,visterAction,circleAction,circleManageIndexDAO,circleManageIndexAction,circleIndexDAO,circleAboutDAO,circleMemberDAO,circleAlbumDAO,circlePhotoDAO,circleBbsDAO,circleVoteDAO,circleBlogDAO,circleVBlogDAO,circleBookmarkDAO,circleBeatDAO,absCircleAction,circleIndexAction,circleAboutAction,circleMemberAction,circleAlbumAction,circlePhotoAction,circleUploadAction,circleBbsAction,circleVoteAction,circleBlogAction,circleVBlogAction,circleBookmarkAction,circleBeatAction,offenseDAO,offenseAction,peopleIndexAction,appListVblogAction,appListBlogAction,appListCircleAction,peopleOtheFavorAction,peopleVoteAction,peoplePersonCenterAction,peopleFavorAction,peopleCenterBlogAction,peopleBlogAction,peopleCircleAction,peopleCenterCircleAction,peopleVblogAction,userInfoAction,voteAction,photoAction,praiseAction,leaveWordAction,messageAction,stockVblogAction,fenXiAction,stockVoteAction,stockFavorAction,stockBlogAction,stockCircleAction,indexAction,testDAO,testAction,testCurdAction,ajaxAction,correctAction,loginAction,registerAction,uheadsettingAction,uinfosettingAction,upwdsettingAction,ufindpwdsettingAction,usetpwdsettingAction,friendAction,ulikesettingAction,stockIndexAction,stockPlateIndexAction,stockPlateAction,viewFinanceBlogAction,viewFinanceCircleAction,sVoteAction,viewIndexDAO,ajaxMaskVoteDAO,peopleVoteAllyDAO,fillVoteDAO,fillVoteDetailDAO,blogDAO,bookmarkDAO,vblogDAO,categoryDAO,searchDao,onlineDAO,rankDAO,tagsDAO,qindexDAO,qsearchDAO,qmyDAO,aboutDAO,viewIndexAction,ajaxMaskVoteAction,fillVoteAction,voteDetailAction,fillVoteDetailAction,blogAction,bookmarkAction,vblogAction,categoryAction,searchAction,onlineAction,rankAction,tagsAction,qIndexAction,qSearchAction,qMyAction,aboutAction,dataSource,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactionAdvisor,jdbcTemplate,simpleJdbcTemplate,namedParameterJdbcTemplate,jdbcDAOSupport,commonDaoImp,storeProcedureDAO,classDAO,popedomDAO,userLevelDAO,taskDAO,sysAutoCommentDAO,sysAutoCreateVotePeriodDAO,sysAutoRefreshOurpassGradeDAO]; root of factory hierarchy
2012-7-17 12:02:33 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2012-7-17 12:02:33 org.apache.catalina.core.StandardContext start
严重: Context [/ourpassApp2.0] startup failed due to previous errors