sonar h2初始化Hibernate

时间:2015-03-24 02:56:46

标签: sonarqube h2

使用h2运行声纳时出现问题,为什么hibernate不是init,所以无法找到表:

INFO: SonarQube Server 5.0.1

10:27:11.403 INFO  - Load global referentials...

10:27:11.586 INFO  - Load global referentials done: 187 ms

10:27:11.591 INFO  - User cache: D:\Project\.sonar\cache

10:27:11.605 INFO  - Install plugins

10:27:11.976 INFO  - Install JDBC driver

10:27:11.987 INFO  - Create JDBC datasource for jdbc:h2:tcp://172.27.18.11:9091/sonar

INFO: ------------------------------------------------------------------------

INFO: EXECUTION FAILURE

INFO: ------------------------------------------------------------------------

Total time: 2.660s

Final Memory: 2M/15M

INFO: ------------------------------------------------------------------------

ERROR: Error during Sonar runner execution

ERROR: Unable to execute Sonar

ERROR: Caused by:
 Error querying database.  Cause: org.h2.jdbc.JdbcSQLException: Table "PROPERTIES" not found; SQL statement:

select p.id as id, p.prop_key as "key", p.text_value as value, p.resource_id as resourceId, p.user_id as userId
    from properties p
    where p.prop_key=?
      AND p.resource_id is null*

0 个答案:

没有答案