Jdbi: Cannot find classpath resource in maven module dependency

Created on 24 Mar 2019  路  3Comments  路  Source: jdbi/jdbi

Hi

I just tried to make a maven module of my Jdbi repositories. Sqls reside in this modules resource folder.

Then I make another module that depends on this new repository module.

Its not possible. Should it be possible? I think it should. But why isn't it working? The sql files is now inside a jar dependency.

question

All 3 comments

Should I just abandon the class path sql locator when I am making a shared data access library?

god i am so stupid. I had marked it as a pom module. Explains.

No problem. Glad you were able to work it out

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhardtke picture dhardtke  路  3Comments

qualidafial picture qualidafial  路  3Comments

electrum picture electrum  路  3Comments

jimmyhmiller picture jimmyhmiller  路  6Comments

Romqa picture Romqa  路  5Comments