I tried to create jar for a service A, which needs to be imported into service B. when I ran the below command
mvn release:prepare release:perform -Darguments="-DenvironmentName=<env>"
the jar got created but I am not able to import it into the service B. Error says "Cannot resolve symbol".
My guess is that the jar is not created properly, since it has these 3 folders:
BOOT-INF
META-INF
org.springframework.boot.loader
when. my service name path is like in.xyz.abc.commons, there is no folder of this name in the jar
in.xyz.abc.commons
If a JAR was created with the spring boot parent, it cannot be used as dependency.
So if A is a Spring boot service, it cannot be used in B.
2.1m questions
2.1m answers
60 comments
57.0k users