简体   繁体   中英

How to open a Apache Maven project on NetBeans 7.0.1

I'm trying to open a project created with Apache Maven in NetBeans, with no success. I followed the directions given by this link: http://wiki.netbeans.org/MavenBestPractices but the Open Project dialog does not recognizes the project in the folder. When I point to the folder that contains the pom.xml file, it shows as if the folder is empty, except for the sub-folders. Apparently Apache Maven is disabled, but I can't find how to enable it. Could someone point what is the mistake that I'm doing?

please make sure the maven modules are actually installed in your distribution. (Tools/Plugins I believe). And the latest NetBeans version is 7.4, 7.0.1 is fairly old already.

I installed the NetBeans 7.4 from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html and it worked! Probably the build from Ubuntu repositories has issues. Thanks for the suggestions!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM