Severe: exception starting filter struts2 <br/> caught exception while loading file struts-default.xml-[unknown location] <br/> at com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. loadconfigurationfiles (xmlconfigurationprovider. java: 839) <br/> at com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. loaddocuments (xmlconfigurationprovider. java: 131) <br/> at com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. init (xmlconfigurationprovider. java: 100) <br/> at com. opensymphony. xwork2.config. impl. defaultconfiguration. reload (defaultconfiguration. java: 130) <br/> at com. opensymphony. xwork2.config. configurationmanager. getconfiguration (configurationmanager. java: 52) <br/> at Org. apache. struts2.dispatcher. dispatcher. init_preloadconfiguration (dispatcher. java: 395) <br/> at Org. apache. struts2.dispatcher. dispatcher. init (dispatcher. java: 452) <br/> at Org. apache. struts2.dispatcher. filterdispatcher. init (filterdispatcher. java: 201) <br/> at Org. apache. catalina. core. applicationfilterconfig. getfilter (applicationfilterconfig. java: 275) <br/> at Org. apache. catalina. core. applicationfilterconfig. setfilterdef (applicationfilterconfig. java: 397) <br/> at Org. apache. catalina. core. applicationfilterconfig. <init> (applicationfilterconfig. java: 108) <br/> at Org. apache. catalina. core. standardcontext. filterstart (standardcontext. java: 3696) <br/> at Org. apache. catalina. core. standardcontext. start (standardcontext. java: 4343) <br/> at Org. apache. catalina. core. standardcontext. reload (standardcontext. java: 3086) <br/> at Org. apache. catalina. loader. webapploader. backgroundprocess (webapploader. java: 404) <br/> at Org. apache. catalina. core. containerbase. backgroundprocess (containerbase. java: 1309) <br/> at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. processchilbase (containerbase. java: 1601) <br/> at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. processchilbase (containerbase. java: 1610) <br/> at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. processchilbase (containerbase. java: 1610) <br/> at Org. apache. catalina. core. containerbase $ containerbackgroundprocessor. run (containerbase. java: 1590) <br/> at java. lang. thread. run (thread. (Java: 619) <br/> caused by: Java. lang. classcastexception: Org. apache. xerces. parsers. xml11configuration cannot be cast to Org. apache. xerces. xni. parser. xmlparserconfiguration <br/> at Org. apache. xerces. parsers. domparser. <init> (unknown source) <br/> at Org. apache. xerces. parsers. domparser. <init> (unknown source) <br/> at Org. apache. xerces. JAXP. documentbuilderimpl. <init> (unknown source) <br/> at Org. apache. xerces. JAXP. documentbuilderfactoryimpl. newdocumentbuilder (unknown source) <br/> at com.sun.org. apache. xalan. internal. TC. trax. sax2dom. <init> (sax2dom. java: 69) <br/> at com.sun.org. apache. xalan. internal. TC. runtime. output. transletoutputhandlerfactory. getserializationhandler (transletoutputhandlerfactory. java: 187) </P> <p>
Jar package conflicts. XML parsing package conflicts. check the post-release WEB-INF/lib has two XML parsing packages: xml-apis.jar and xerces-2.6.2.jar this error is not really caused by JDK 6 and Struts 2 conflicts, but myeclipse hibernate library has two more packages: xml-apis.jar and xerces-2.6.2.jar, the two Package features conflict with JDK. solution: 1. delete the two files under the WEB-INF/lib/directory after the release; 2. or use JDK 1.5 to start Tomcat 6.