“duplicate class” on boilerplate generation (GWTP) with maven

流过昼夜 提交于 2019-12-01 01:04:42

The problem was that the maven-processor-plugin and the maven-compiler-plugin where generating the (same) sources to different folders. The solution is to disable one processor. I decided that the maven-processor-plugin will be disabled.

The other option is to add <compilerArgument>-proc:none</compilerArgument> to the maven-compiler-plugin. This has the benifit that mvn generate-sources is working.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!