Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Running a Maven webapp

Have you installed the m2eclipse integration for WTP plugin (aka m2eclipse-wtp) 0.11.0?
The update site is

Once installed, right click on your project and run Maven > Update Project Configuration


Fred Bricon

On Wed, Nov 17, 2010 at 6:51 PM, shef <shef31@xxxxxxxxx> wrote:
Using the latest version of m2eclipse, I created a new Maven project, picked the
"maven-archetype-webapp", and everything looks fine. Running "Maven package" off
the "Run As" menu creates a lovely .war file.

Now how do I run or debug the app?

Run As > Java Application does not work.

I installed WTP, but I can't seem to get Run As > Run On Server to work either.

I added:

to the POM, and now Run As / Maven Build... / Goals: jetty:run *does* work. But
debugging doesn't. When I set a breakpoint in a .jsp file I get a "source not
found" error.

There's got to be a standard way to run a webapp in Eclipse. What am I missing?

m2e-users mailing list

"Have you tried turning it off and on again" - The IT Crowd

Back to the top