01 org.hibernate.InvalidMappingException: Could not parse mapping document from resourcecn/edu/hbmy/model/Document.hbm.xml
02 at org.hibernate.cfg.Configuration.addResource(Configuration.java:569)
03 at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1584)
04 at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1552)
05 at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1531)
06 at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1505)
07 at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
08 at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
09 at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
10 at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
11 at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
12 at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
13 at org.jbpm.JbpmContext.getSession(JbpmContext.java:506)
14 at cn.edu.hbmy.action.CreateProcessInstance.testCreateDocumet(CreateProcessInstance.java:26)
15 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18 at java.lang.reflect.Method.invoke(Method.java:597)
19 at junit.framework.TestCase.runTest(TestCase.java:154)
20 at junit.framework.TestCase.runBare(TestCase.java:127)
21 at junit.framework.TestResult$1.protect(TestResult.java:106)
22 at junit.framework.TestResult.runProtected(TestResult.java:124)
23 at junit.framework.TestResult.run(TestResult.java:109)
24 at junit.framework.TestCase.run(TestCase.java:118)
25 at junit.framework.TestSuite.runTest(TestSuite.java:208)
26 at junit.framework.TestSuite.run(TestSuite.java:203)
27 at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
28 at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
29 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
30 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
31 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
32 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
33 Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
34 at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:508)
35 at org.hibernate.cfg.Configuration.addResource(Configuration.java:566)
36 ... 30 more
37 Caused by: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out:connect
38 at org.dom4j.io.SAXReader.read(SAXReader.java:484)
39 at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:499)
40 ... 31 more
错误原因:
把<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
修改为:
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
分享到:
相关推荐
Caused by: android.system.ErrnoException: write failed: ENOSPC (No space lef
Caused by: java.net.UnknownHostException: openapi.alipay.com
Caused by: java.lang.OutOfMemoryError: PermGen space解决方案, avax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space at org.apache.jasper.servlet.JspServlet.service(JspServlet.java...
主要介绍了Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.Type异常,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
整个系统都没有错误,但是在发布运行后,控制台上却抛出了这样的异常: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/...
NULL 博文链接:https://redarmychen.iteye.com/blog/463864
Android Caused by: java.lang.ClassNotFoundException解决办法 出现问题: 08-13 18:29:22.924: E/AndroidRuntime(1875): Caused by: Java.lang.ClassNotFoundException:XXXXX in loader dalvik.system....
1、写在开头 标题之前我想说一下Linux的mysql真的实在是太坑了。太坑了。总是会出现这样那样的你想不...4、今天要说的就是 没有打开only_full_group_by Cause:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExcepti
主要介绍了Caused by: android.os.NetworkOnMainThreadException错误解决办法,本文提供了2种解决方法,需要的朋友可以参考下
异常:Caused by: java.lang.IllegalStateException: Method has too many Body parameters Caused by: java.lang.IllegalStateException: Method has too many Body parameters: public abstract ...
Caused by: java.lang.NoClassDefFoundError: com.sun.org.apache.xml.internal.resolver.CatalogManager at com.sun.xml.ws.util.xml.XmlUtil.createEntityResolver(XmlUtil.java:266) at org.jvnet.jax_ws_...
Caused by: java.sql.SQLException: java.lang.ClassNotFoundException: org.apache.hive.jdbc.HiveDriver at com.trs.gateway.commons.hive.HiveFeature.getConnection(HiveFeature.java:57) at ...
主要介绍了Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.Type异常,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
NULL 博文链接:https://javapub.iteye.com/blog/1472475
Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java...
主要介绍了Mybatis报错: org.apache.ibatis.exceptions.PersistenceException解决办法的相关资料,需要的朋友可以参考下
MQTTv5版的客户端库,原地址:... 本资源合入了解决低于android7.0报错Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.net.ssl.SNIHostName"的问题。