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

Shujito picture Shujito  ·  5Comments

raderio picture raderio  ·  6Comments

stevenschlansker picture stevenschlansker  ·  4Comments

Romqa picture Romqa  ·  5Comments

jimmyhmiller picture jimmyhmiller  ·  6Comments