Jump to content
We've recently updated our Privacy Statement, available here ×
  • Error invoking getDriver() method when using buildomatic


    Friendly User

    Problem:

    During manual WAR file installation you get the following errors on database check:

    [toc]
    BUILD FAILED
    C:\Jaspersoft630\JRS630\buildomatic\bin\validation.xml:495: The following error occurred while executing this line:
    C:\Jaspersoft630\JRS630\buildomatic\bin\validation.xml:376: The following error occurred while executing this line:
    C:\Jaspersoft630\JRS630\buildomatic\conf_source\db\sqlserver\db.xml:29: The following error occurred while executing this line:
    C:\Jaspersoft630\JRS630\buildomatic\bin\app-server.xml:60: C:\Jaspersoft630\JRS630\buildomatic\bin\app-server.xml:60: Error invoking getDriver() method
    

    Solution:

    1. Make sure you are using the correct Java version with the desired driver. Java requirements for different driver vendors can be found on their respective websites. For example, sqljdbc42 requires Java 8 and won't work with Java 7.
    2. In default_master.properties make sure that the native driver configuration matches the jar you have. Due to certain buildomatic restrictions, the jar filename needs also to accommodate the configuration as well. That means that you need to have a JAR in the following naming format: artifactID-version.jar. If you are missing the version then you won't be able to specify the maven.jdbc.version
    3. Make sure the user has full read access to the JAR file.

    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...