Java – NetBeans & Maven: different compilation behaviors

I'm using NetBeans and Maven projects

What are the reasons for this difference? I have checked that both use the same JDK version

Solution

One possible reason may be that you did not add the required jar.jar to the net beans classpath But jar is in your Maven POM List in XML

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>