Skip to content

Error injecting data sources #2

@santoshreddy17

Description

@santoshreddy17

We are having issues injecting datasources using

com.kumuluz.ee.testing
kumuluzee-arquillian-container
1.0.0
test


org.jboss.arquillian.junit
arquillian-junit-container
1.4.0.Final
test

Exception we get
Exception in thread "main" java.lang.RuntimeException: Failed to load class of driverClassName [org.postgresql.Driver] in either of HikariConfig class loader or Thread context classloader
at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:334)
at com.kumuluz.ee.EeApplication.initialize(EeApplication.java:262)
at com.kumuluz.ee.EeApplication.(EeApplication.java:73)
at com.kumuluz.ee.testing.arquillian.assets.MainWrapper.main(MainWrapper.java:44)

Some research pointed us to -
brettwooldridge/HikariCP#982

And looks like it is an issue with Hikari dependency.
We tried using the suggested version by excluding and including the one which they said has fixed the issue but still get the same exception.

Any suggestions ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions