The reference to entity "characterEncoding" must end with the ';' delimiter. Nested exception: The r
来源:互联网 发布:mysql导出整个数据库 编辑:程序博客网 时间:2024/06/11 18:48
org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xmlorg.hibernate.cfg.Configuration.doConfigure(Configuration.java:1494)org.hibernate.cfg.Configuration.configure(Configuration.java:1428)org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:80)org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:345)org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)com.jcoder.action.ShowAllWorkFlowAction.service(ShowAllWorkFlowAction.java:37)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.dom4j.DocumentException: Error on line 10 of document : The reference to entity "characterEncoding" must end with the ';' delimiter. Nested exception: The reference to entity "characterEncoding" must end with the ';' delimiter.org.dom4j.io.SAXReader.read(SAXReader.java:482)org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484)org.hibernate.cfg.Configuration.configure(Configuration.java:1428)org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:80)org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:345)org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)com.jcoder.action.ShowAllWorkFlowAction.service(ShowAllWorkFlowAction.java:37)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
在用JBPM时候遇到的问题。显然是hibernate的问题。是hibernate配置文件链接mysql数据库时候的链接: jdbc:mysql://localhost:3306/jcoder?useUnicode=true&characterEncoding=utf8
这里不能直接:&,需要写成&
- The reference to entity "characterEncoding" must end with the ';' delimiter. Nested exception: The r
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter.
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- The reference to entity "characterEncoding" must end with the ';' delimiter
- .The reference to entity "characterEncoding" must end with the ';' delimiter.
- The reference to entity "characterEncoding" must end with the ';' delimiter
- Android 实现两屏幕互相滑动
- Android 缓存管理和LRU 算法
- eclipse修改字体
- linux进程编程:子进程创建及执行函数简介
- 高端ARM+FPGA(三星S5pv210+XC3S400A)开发板XC210终于出来了!!上图!(by liukun321 咕唧咕唧)
- The reference to entity "characterEncoding" must end with the ';' delimiter. Nested exception: The r
- java静态代理
- POJ 3321 Apple Tree
- JavaScript对象——Array
- Flex点面/线面相交分析思路
- C++DLL编程详解
- YUV 颜色空间
- lnamp相关教程
- 页面会发后加载事件