现在的位置: 首页 > 综合 > 正文

Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: socket creation error

2013年09月12日 ⁄ 综合 ⁄ 共 2937字 ⁄ 字号 评论关闭

A:多数是因为数据库没有打开的缘故!

若使用的HSQLDB的话,应首先打开HSQLDB的server,如server.bat
附server.bat内容:
java -classpath ../WebContent/WEB-INF/lib/hsqldb.jar org.hsqldb.Server -database test

抱歉!评论已关闭.