Maven: Multiple class with the same path implemented in different jar

前端 未结 3 1439
别那么骄傲
别那么骄傲 2021-01-12 20:47

I\'m running into trouble with having multiple class with the same path (i.e. same name, same package!!!). For some reason, gwt-dev comes with its own version of org.a

3条回答
  •  Happy的楠姐
    2021-01-12 21:22

    dependencies within maven projects can be a hassle to troubleshoot. what i normally do is...

    • mvn dependency:tree on your project to see who has a dependency on the classes giving you problems.
    • try excluding the classes you think is giving problem by editing your pom.xml.

    hope this helps!

提交回复
热议问题