Maven compile error, whether it is mvn clean or mvn build will appear this error: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean, and the code does not have any compile error, just can not packaged.
Later found that the prompt cann-t delete target this folder, I manually in the local directory is no way to delete, forced to delete, mvn clean is OK, but still can not packaged, and then checked to find that my code is a startup a note configuration problems, after the note, everything is normal ~ ~
1, manually delete the target folder in the directory.
2, check your code, there is no runtime error, when playing jar packages, may also load the contents of the annotation.