JDBC driver not available for 'org.postgresql.Driver' on Spring Roo

后端 未结 2 1884
孤城傲影
孤城傲影 2021-01-28 18:31

I am trying to use database reverse engineer... See full Roo v1.3 script and UBUNTU env at this simple \"hello\" script.

The error:

Located          


        
2条回答
  •  耶瑟儿~
    2021-01-28 18:41

    I tried both

    addon install bundle --searchResultId 01
    

    and

    addon install bundle --searchResultId 02
    

    and was still getting the no driver found message JDBC driver not available for 'org.postgresql.Driver'.

    What did work for me was to install the previous version of the bundle.

    osgi install --url  http://spring-roo-repository.springsource.org/release/org/springframework/roo/wrapping/org.springframework.roo.wrapping.postgresql-jdbc3/9.0.801.0001/org.springframework.roo.wrapping.postgresql-jdbc3-9.0.801.0001.jar
    

    I'm using PostgreSQL 9.4 running on a docker container.

提交回复
热议问题