There is spring application "A" packaged as JAR (with maven) and the POM file of application "A" contain few particular maven dependencies defined.
In another spring boot application "B" packaged as JAR, the dependency of application "A" is added, but at the time of execution of "B", it throws few ClassNotFound/NoClassDef errors for the dependencies mentioned in application "A".
Note - application "A" is not a boot project. It is a simple spring app build with maven.
Please assist. Please let me know, if I need to share any code w.r.to this. Thanks in advance.