XML - apis. Jar the two jars from engineering lib directory delete, said with JDK system provide the two jars, conflict,
But after I deleted, or this kind of mistake, and the program in only hibernate, without the introduction of struts 2 is no problem,
But after the introduction of struts 2 jars to the problem, and is the first time deployment will not quote this kind of mistake, the second and subsequent deployment will quote this error
Below is the error message:
The Exception starting filter struts 2
Unable to load configuration. - [unknown location]
At org, apache struts 2. Dispatcher. Dispatcher. Init (431) the dispatcher. Java:
The at org, apache struts 2. Dispatcher. Ng. InitOperations. InitDispatcher (InitOperations. Java: 69)
At org, apache struts 2. Dispatcher. Ng. Filter. StrutsPrepareAndExecuteFilter. Init (StrutsPrepareAndExecuteFilter. Java: 51)
The at org. Apache. Catalina. Core. ApplicationFilterConfig. GetFilter (ApplicationFilterConfig. Java: 275)
The at org. Apache. Catalina. Core. ApplicationFilterConfig. SetFilterDef (ApplicationFilterConfig. Java: 397)
The at org. Apache. Catalina. Core. ApplicationFilterConfig. & lt; init> (ApplicationFilterConfig. Java: 108)
The at org. Apache. Catalina. Core. StandardContext. FilterStart (StandardContext. Java: 3693)
The at org. Apache. Catalina. Core. StandardContext. Start (StandardContext. Java: 4342)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 761)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 741)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 525)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectory (HostConfig. Java: 920)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectories (HostConfig. Java: 883)
The at org. Apache. Catalina. Startup. HostConfig. DeployApps (HostConfig. Java: 492)
The at org. Apache. Catalina. Startup. HostConfig. Start (HostConfig. Java: 1138)
The at org. Apache. Catalina. Startup. HostConfig. LifecycleEvent (HostConfig. Java: 311)
The at org. Apache. Catalina. Util. LifecycleSupport. FireLifecycleEvent (LifecycleSupport. Java: 120)
The at org. Apache. Catalina. Core. ContainerBase. Start (ContainerBase. Java: 1023)
The at org. Apache. Catalina. Core. StandardHost. Start (StandardHost. Java: 719)
The at org. Apache. Catalina. Core. ContainerBase. Start (ContainerBase. Java: 1015)
The at org. Apache. Catalina. Core. StandardEngine. Start (StandardEngine. Java: 443)
The at org. Apache. Catalina. Core. StandardService. Start (StandardService. Java: 448)
The at org. Apache. Catalina. Core. StandardServer. Start (StandardServer. Java: 710)
The at org. Apache. Catalina. Startup. Catalina. Start (catalina. Java: 552)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 57)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (601) Method. The Java:
At org. Apache. Catalina. Startup. The Bootstrap. Start (288) the Bootstrap. Java:
At org. Apache. Catalina. Startup. The Bootstrap. Main (413) the Bootstrap. Java:
Under Caused by: Unable to load configuration. - [unknown location]
At com. Opensymphony. Xwork2. Config. ConfigurationManager. GetConfiguration (58) ConfigurationManager. Java:
At org, apache struts 2. Dispatcher. Dispatcher. Init_PreloadConfiguration (374) the dispatcher. Java:
At org, apache struts 2. Dispatcher. Dispatcher. Init (418) the dispatcher. Java:
. 29 more
Under Caused by: Caught exception while loading the file struts - default. XML - [unknown location]
At com. Opensymphony. Xwork2. Config. Will the XmlConfigurationProvider. LoadConfigurationFiles (XmlConfigurationProvider. Java: 902)
At com. Opensymphony. Xwork2. Config. Will the XmlConfigurationProvider. LoadDocuments (XmlConfigurationProvider. Java: 143)
At com. Opensymphony. Xwork2. Config. Will the XmlConfigurationProvider. Init (XmlConfigurationProvider. Java: 110)
At com. Opensymphony. Xwork2. Config. Impl. DefaultConfiguration. ReloadContainer (DefaultConfiguration. Java: 168)
At com. Opensymphony. Xwork2. Config. ConfigurationManager. GetConfiguration (55) ConfigurationManager. Java:
. 31 more
Under Caused by: Java. Lang. ClassCastException: org.. Apache xerces. Parsers. XML11Configuration always be cast to org.. Apache xerces.. Xni parser. XMLParserConfiguration
At org, apache xerces. Parsers. DOMParser. & lt; init> (Unknown Source)
At org, apache xerces. Parsers. DOMParser. & lt; init> (Unknown Source)
At org, apache xerces. Jaxp. DocumentBuilderImpl. & lt; init> (Unknown Source)
The at org, apache xerces. Jaxp. DocumentBuilderFactoryImpl. NewDocumentBuilder (Unknown Source)
At com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument SAX2DOM. Java: (328)
The at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.
At com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler TransletOutputHandlerFactory. Java: (191)
At com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler TransformerImpl. Java: (396)
At com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult TransformerHandlerImpl. Java: (141)
nullnullnullnullnullnullnullnullnullnullnullnull