Hello,
I am desperate to solve this problem because it's crucial to solve it and I've been trying to fix it for a week.
When I try to either
Build, Clean and Build or
Run (play button) my '
Maven Webapplication' in NetBeans, I get the following output:
This is what I have tried to fix the problem:
- Googled about 30 threads on this exact subject and tried their solutions to no avail
- Uninstalled NetBeans 7.2, removed .m2 directory, removed .nbi directory (I don't know if this belongs to NetBeans), rebooted and reinstalled NetBeans 7.2
- Uninstalled NetBeans 7.2 and installed NetBeans 7.0.1
- modified the POM file of the project
- modify the context.xml file in META-INF/ folder of my project to point it to a different path.
- Correctly install Maven by adding the proper environment variables (works)
My projects used to build and run perfectly with no problems when I was using NetBeans 7.0.1, until I installed NetBeans 7.2. That's when I started getting this error.
The error doesn't go away no matter what I try.
Other strange behavior:
- When I try to create a new Maven Webapplication in NetBeans, it always creates it under the root of my drive E:\ in a folder even though I explicitly tell it to install it under my projects folder.
What works:
-The only time when my projects successfully build and run is when I run them in my Windows XP SP3 virtual machine.
So I don't know what to think here. What application or configuration is at fault? I find it very difficult to troubleshoot.
-Running this command:
https://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
thus using an explicit path to my project
I don't want to do this every time. I want it to work like it's supposed to.
I can't get rid of this error.
If anyone can help, I would be very thankful.
Thank you
Specs:
JDK 1.7
Sourcecode
java version: 1.6
OS: Windows 7 x64
Server used:
Tomcat 7.x