[Solved] MVN package error: Failed to execute goal…

1. Error reporting

2. View POM files

3. View the local java version

4. Solution

Due to the inconsistency of the java version, it is enough to change the jdk version of the demo to the same as the local one.由于java版本不一致导致,把demo的jdk版本换成跟本地一样的就可以了

Similar Posts: