Packaged specified when maven package lib folder

Today encountered a problem when packaging their spring boot project report can not find classes and symbols.

Because I have some reliance is placed on the project lib folder, then the time to even put packaged packaged with it.


Modify pom.xml, add about content:





Cmd then switch to execute the project root packaging commands: mvn clean package -Dmaven.test.skip = true

jar package after package structure can be seen throughout the lib folder is packed into it.





Published 343 original articles · won praise 577 · views 2 million +

Guess you like