Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error injecting data sources #2

Open
santoshreddy17 opened this issue Jul 2, 2018 · 1 comment
Open

Error injecting data sources #2

santoshreddy17 opened this issue Jul 2, 2018 · 1 comment

Comments

@santoshreddy17
Copy link

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 ?

@urbim
Copy link
Member

urbim commented Jul 2, 2018

It seems like the Postgres driver is missing in the deployment. I assume you are using the MavenDependencyAppender mechanism to add dependencies to the deployment.

Can you check if the Postgres driver is missing in the appender?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants