2

我正在使用声纳 3.4.1,我已经在 sonar.properties 上完成了 jdbc 配置,但是当我想启动服务器时,我遇到了这个错误:

    | 2013-10-07 15:30:24.061:INFO::Logging to org.sonar.application.FilteredLogger@4ee1d5ea via org.sonar.application.FilteredLogger
    | 2013-10-07 15:30:24.146:INFO::jetty-6.1.25
    | 2013-10-07 15:30:24.448:INFO::NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
    | JRuby limited openssl loaded. http://jruby.org/openssl
    | gem install jruby-openssl for full support.
    | 2013-10-07 15:30:45.912:INFO::Started SelectChannelConnector@0.0.0.0:9000

在声纳日志中我有这个例外:

2013.10.07 14:21:23 ERROR o.s.c.p.Database  Can not connect to database. Please check connectivity and settings (see the properties prefixed by 'sonar.jdbc.').
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
    at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429) ~[commons-dbcp-1.3.jar:1.3]
    at 
4

0 回答 0