sonar和maven集成使用,出现数据库无法连接的错误
时间: 2015-11-23来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
@小咔蹭 你好,想跟你请教个问题:
我用sonar和maven集成的出现下面的错误:
是不是数据库驱动的问题呢?但我在sonar.properties里面已经把H2注释掉了,用的是MYSQL.在setting.xml文件里也增加了如下内容:
<profile>

<id>sonar</id>

<activation>

<activeByDefault>true</activeByDefault>

</activation>

<properties>

<sonar.jdbc.url>

jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true



</sonar.jdbc.url>

<sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>

<sonar.jdbc.username>sonar</sonar.jdbc.username>

<sonar.jdbc.password>sonar</sonar.jdbc.password>

<sonar.host.url>http://localhost:9000</sonar.host.url>

</properties>

</profile>
实在不知道问题在哪里,请指教,多谢多谢!

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行