Today in the server deployment, this problem occurred, clearly in the use of the machine, no error occurred, but posted to the server when the error occurred, Baidu for a long time, found that there are many people encounter this problem, but there is no more satisfactory answer, and then through Google to the answer, This problem occurs because of a problem with the package conflict, here is the answer I found:
You ' re probably picking a incompatible mix of classes from Xerces 2.8.1 and some old version of Xerces (something Prio R to 2.7.0) which are somewhere on your classpath or perhaps in the endorsed directory of your JDK 1.4 installation.
, and then I went to my project carefully review, found that really is, lib package under the Xerces 2.8.1 and xerces2.6.x, then I put 2.6 of that rack to delete, there is no problem. Because afraid of this problem later, do not know how to solve, so remember
Java.lang.NoSuchMethodError:org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar