Intellij spring boot PropertiesLauncher

I have spring boot application (1.3.5.RELEASE) which is packaged as a jar file and i would like to have the jdbc drivers in an external libs folder. So i am using the PropertiesLauncher which searches for external jar files.

It works fine when using java -jar -Dloader.path=lib/ but is does not work inside the Intellij IDE. Its a Maven project which is imported into Intellij.

Any hints for me?

Source: java

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.