I'm using Eclipse Indigo, Win XP, Java 1.6, Maven 3.0.3, Maven-Tomcat plugin 1.1, a stand-alone Tomcat 6.0.33 server, and my shirt is blue. From a command line (Cygwin), I'm able to run the following just fine
to deploy my web app into an existing Tomcat instance. However, from Eclipse, if I right click on my project and execute a run configuration (http://screencast.com/t/nRYcbMEud), with the same characteristics, I get the error (401 forbidden) below. Any ideas what I need to do to adjust my environment to get this to run the same?
I'm including the complete output of using the "-X" option below, but it doesn't really give any more detailed information than the baffling 401 I saw without it. Again, this doesn't happen when I run at the command line, so I'm wondering if Eclipse is able to read my Windows environment variables? Maybe it's not recognizing M2_HOME or CATALINA_HOME?
subject: Trouble with running Maven Tomcat plugin through Eclipse