出现此错误的原因
1、在hibernate 映射文件中引入了不存在的类名(例如com.cn.common.domain.UserRole),并且存在不必要的映射文件。
例如 <set
name="user"
inverse="true"
>
<key>
<column name="role_id" />
</key>
<one-to-many class="com.cn.common.domain.UserRole" />
</set>
具体详情如下
INFO: Illegal access: this web application instance has been
stopped already. Could not load org.apache.xerces.util.EncodingMap.
The eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
2、因为hibernate 映射文件路径不对,映射文件应该放置在src目录下。
分享到:
相关推荐
例如,如果你的项目使用了需要Xerces支持的库,或者你自己编写了依赖于Xerces的代码,那么你需要确保将"org.apache.xerces-2.9.0.jar"或"xerces.jar"添加到项目的类路径中。你可以通过Maven、Gradle等构建工具进行...
jar包,官方版本,自测可用
jar包,官方版本,自测可用
描述 "Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found" 是一个常见的错误消息,这通常意味着在运行时环境中,系统无法找到指定的 XML 解析器提供商。JAXP(Java API for XML Processing)是...
标题中的“Java中org.apache.crimson.tree开发包”指的是Apache Crimson库中的一个特定部分,即`org.apache.crimson.tree`包。这个包主要包含了用于解析和操作XML文档的类和接口。其中,`XmlDocument`类是这个包中的...
在这个特定的情况下,错误提示`org.apache.xerces.dom.DocumentImpl.setXmlVersion`指出问题源于Apache Xerces的DOM实现,它是一个流行的XML解析库。 `AbstractMethodError`通常意味着缺少了某个依赖或版本冲突。...
jar包,官方版本,自测可用
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
import org.apache.batik.transcoder.Transcoder; import org.apache.batik.transcoder.TranscoderException; import org.apache.batik.transcoder.TranscoderInput; import org.apache.batik.transcoder....
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...
java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object; at org.apache.cxf.staxutils.StaxUtil...
Professional XML Development with Apache Tools:Xerces,Xalan,FOP,Cocoon,Axis,Xindice 文件太大,只好分卷压缩,这是第3部分,请同时下载part2和part3至相同目录
faultCode: {... at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow n Source)