1. Download the open source rocketmq, own changed under pom file, generate the zip package of running after packaging, This is a picture which the zip decompression after Through start. Sh start jars, operating under the Windows An error prompt the Exception in the thread "is the main" Java. Lang. NoClassDefFoundError: org/springframework/boot/SpringApplication, This is a jar package decompression after screenshots File contains the class start
2. This is my modified pom, the main change is the content of the build TAB under The SRC/main/resources The ${project. Build. Directory}/config
The SRC/main/resources The ${project. Build. Directory}/classes
3. Just downloaded, compiled into a jar package without any problems, compiled into zip bags have this problem, this is my target to zip format file screenshot, who can give me some ideas, thank you, The