maven compilation error: duplicate classes

后端 未结 10 529
悲&欢浪女
悲&欢浪女 2020-12-09 16:39

In my maven2 project I have a directory ${basedir}/autogen that contains some autogenerated source code files produced by wsdl2java.

When r

10条回答
  •  北海茫月
    2020-12-09 17:26

    I had the exact same issue. In my case the problem was that I called maven with -f=./pom.xml. I have no idea why this leads to a different result (would be nice if someone can explain) but maybe good to know if someone else has the same issue.

提交回复
热议问题