Hi,
I have a jar file (say JAR1) placed in /code/jars folder. This jar file has dependency with other jars as mentioned in the class-path attribute below (The extract below is from the MANIFEST.MF of the JAR1).
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: author.name
Class-Path: libs/jar-test-1.1-SNAPSHOT.jar libs/commons-lang3-3.1.jar
Created-By: Apache Maven 3.2.5
Build-Jdk: 1.8.0_77
Main-Class: com.prac.test.ImportTest
I have placed the libs folder in /code/jars but whenever JAR1 tries to use classes from the jars under libs/, it throws NoClassDefFoundError. I placed the libs folder in /lib but no luck.
Can you please advise where to place the libs jar files so that JAR1 can recognise libs/
Kind regards,
Raj
#Integration-Server-and-ESB#webMethods