classloader - How to include a spring-boot-maven-plugin generated jar to a third application -


i create application depends on a.jar, generated spring-boot-maven-plugin. a.jar depends on b.jar, located lib\ folder. when start application, following error:

exception in thread "main" java.lang.noclassdeffounderror: some_class_located_in_b.jar 

it possible add spring-boot-maven-plugin generated jar classpath of third application? if yes, how?

the repackaged jar "final" artifact , represents application: shouldn't have module dependency on it. default behaviour of repackage replace regular jar 1 holds application.

if code of project a meant shared module, please make sure specify classifier repackaged jar. way can use regular jar file module dependency

there an example in documentation


Comments

Popular posts from this blog

java - How to compare two classes -

c# - Get the Class name in a class with atribute inside a attribute method -

python - AttributeError: 'bool' object has no attribute 'count' -