ibatis的错误,求高手帮忙看看啊,郁闷一个周末啊,伤不起啊,求高手啊~~~~
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ibatis的错误,求高手帮忙看看啊,郁闷一个周末啊,伤不起啊,求高手啊~~~~相关的知识,希望对你有一定的参考价值。
我周六加班,原本想快点完成项目,周二就要交工了,却死活启动不起来了,求高手帮忙看看啊,总是找不到根本的原因,先将异常贴出来
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient-hrm' defined in ServletContext resource [/WEB-INF/classes/config/applicationContext-sqlmap-hrm.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
Caused by:
java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:109)
at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:90)
at org.springframework.orm.ibatis.SqlMapClientFactoryBean.buildSqlMapClient(SqlMapClientFactoryBean.java:326)
at org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:280)
Error parsing XPath '/sqlMapConfig/sqlMap
LR下运行JAVA脚本时报该错误,求高手帮忙
Error: Cannot locate javac.exe under the specified JDK HOME directory. [MsgId: MERR-22967]
Notify: Found jdk version: 1.6.0. [MsgId: MMSG-22986]
Notify: classpath=D:\Program Files\HP\LoadRunner\scripts\udms\;d:\program files\hp\loadrunner\classes\srv;d:\program files\hp\loadrunner\classes;G:\UDMS\UDMS\udms-core-1.1.jar;G:\UDMS\UDMS\udms-tool-1.1.jar;;;D:\Program Files\HP\LoadRunner\scripts\udms\udms-core-1.1.jar;D:\Program Files\HP\LoadRunner\scripts\udms\udms-tool-1.1.jar; [MsgId: MMSG-22986]
Error: Failed to compile the Actions.java file.
Please add the <JDK>\bin to the path and try again. [MsgId: MERR-22996]
Warning: Extension java_int.dll reports error -1 on call to function ExtPerProcessInitialize [MsgId: MWAR-10485]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]
你配置好环境变量就行了,,,
我的电脑”-->"高级"-->"环境变量"
一般电脑都有path路径,你的只需在path路径后加上
path
;C:\Program Files\Java\jdk1.6.0_24\bin
classpath路径上这么设置
.;C:\Program Files\Java\jdk1.6.0_24\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar
注意第一个的点号,
C:\Program Files\Java\jdk1.6.0_24这个是jdk的安装路径,根据不同版本,你参照设置就行了,,,
后在开始-cmd-后输入javac,如果系统找到路径,你就设置成功了,,本回答被提问者采纳
以上是关于ibatis的错误,求高手帮忙看看啊,郁闷一个周末啊,伤不起啊,求高手啊~~~~的主要内容,如果未能解决你的问题,请参考以下文章
linux 装oracle11g报DISPLAY啥错误,求高人能帮忙看看啊!
tomcat项目移植到weblogic,启动报错啊,怎么解决啊,高手帮忙看看啊。。。