问题描述
- activiti连接H2数据库问题
-
环境:activiti版本5.14,tomcat6,jdk6
把activiti-explorer.war放到tomcat里面运行之后,
http://localhost:8080/activiti-explorer/是可以访问的,
建个java工程写个main方法如下public static void main(String[] args) { ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration().buildProcessEngine(); }
结果报错如下:
org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-170] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
数据库连接都是activiti自带的连接,不知道是哪个搞错了,有谁知道吗?
`
时间: 2025-01-02 19:06:54