问题:使用 mvn install -DskipTests ,出现错误:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile),
解决:
1、找了各种方法,没解决;
2、直接运行在idea中运行可执行类:Application,出现错误:Error running 'Application (14)': Command line is too long. Shorten command line for Application (14) or also for Spring Boot default configuration.
3、解决第2步的问题,在idea的 Run/Debug Configuration 中,选择 Shorten command line: JAR manifest ....
4、再执行 mvn install -DskipTests,搞定。
感觉太神奇了,虽然没完全想通。