Questions tagged [m2e-wtp]
52 questions
103
votes
2 answers
Eclipse WTP vs sydeo, " serves modules without publishing "
I have the problem to find the performances of the plugin sysdeo by using the integrated plugin WTP of eclipse.
To make the migration and thus the comparison, I installed both on separate projects within eclipse.
I noticed a difference of…

Vsplit
- 1,988
- 3
- 15
- 18
32
votes
4 answers
Eclipse Maven Projects get rid of wb-resource warnings
My maven projects in Eclipse Luna are giving me this two warnings:
Broken single-root rule: Only one element with a deploy path of "/" is allowed for a web project or an EAR project
and
Broken single-root rule: The output folder for a web project…

João
- 333
- 4
- 8
28
votes
17 answers
Maven does not create the "/target/m2e-wtp/web-resources" folder
I'm using Eclipse Luna. I'm working on a Maven project. When I try to run my application on a weblogic's application server, and exception is thrown with the message:
weblogic.application.ModuleException:…

Muhammad Gelbana
- 3,890
- 3
- 43
- 81
27
votes
12 answers
Missing maven dependencies from deployment assembly
I've recently upgraded from eclipse 4.4.2 (Luna) to 4.5 (Mars). My dynamic web project now doesn't include the Maven Dependencies in its deployment assembly "Project->Properties->Deployment assembly".
I can add them manually (using…

Jan Krakora
- 2,500
- 3
- 25
- 52
9
votes
4 answers
The project contains another dependency with the same archive name
I'm seeing the following error (and a couple of others like it) in my markers:
Invalid classpath publish/export dependency C:/Users/LevineJ/.m2/repository/org/bouncycastle/bcmail-jdk14/1.38/bcmail-jdk14-1.38.jar.
The project contains another…

Jeff Levine
- 2,083
- 9
- 30
- 38
8
votes
3 answers
An internal error occurred during: "Updating Maven Project". org.eclipse.m2e.wtp.WTPProjectsUtil.isM2eWtpDisabled
I am using eclipse kepler with maven v4.0.0 and jboss 7.0 and JDK 1.6. I am getting the following error:
java.lang.NoSuchMethodError:…

Zaheer
- 148
- 1
- 11
8
votes
1 answer
Editing an xsd with imported schemas from dependencies in Eclipse
I have a maven project A with an /xsd/a.xsd in it's classpath.
I also have the project B with an /xsd/b.xsd that refers to /xsd/a.xsd through a catalog entry.
The catalog entry looks like this:
PUBLIC "http://foo.org/a"…

agilbert
- 81
- 4
7
votes
2 answers
Update to m2e 1.6 resulted in "Conflicting lifecycle mapping" error
After I've run an update in my Eclipse Luna SR2 (4.4.2) I got m2e 1.6.1.20150625-2338 installed. For a project where I use maven-war-plugin now I get the following errors in the problems view:
Full text:
Conflicting lifecycle mapping (plugin…

Danny Lo
- 1,553
- 4
- 26
- 48
7
votes
1 answer
Eclipse maven-enabled web app references workspace projects, but those are not deployed when running Tomcat server
I have a web application (Eclipse's Dynamic Web App) which uses Maven (m2e-wtp) for the build and dependencies management. This web app's POM references a few other projects in my workspace, which happen to be eclipse plugins built with maven as…

Edy Bourne
- 5,679
- 13
- 53
- 101
6
votes
2 answers
Kotlin not working with Eclipse Workspace Resolution
I have a Maven-based webapp with multiple "local" Maven dependencies (i.e. the dependencies are themselves projects that are maintained in the same Eclipse workspace as the main app).
I recently rewrote one of the dependencies from Java to Kotlin.…

Alex R
- 11,364
- 15
- 100
- 180
6
votes
2 answers
Issue faced while installing m2e on eclipse
Followed the below steps:(RAD 8.0.4)
Go to help – Install new software.
In the Available Software page of the install wizard, click the Add button next to Work with field and add this new location:…

user3931760
- 61
- 1
- 3
6
votes
2 answers
Eclipse Luna maven-jar-plugin execution not covered by lifecycle
I have a maven java project (deploying to jboss, if that matters) that uses the maven-jar-plugin. This works fine using Eclipse Kepler. I'm now trying Luna (EE edition), and I'm now getting this error
Plugin execution not covered by lifecycle…

marinier
- 387
- 3
- 13
5
votes
1 answer
How to deploy generated resources to tomcat with m2e-wtp?
I am pulling JavaScript from a jar as part of my build process. I wish this js to be part of my web resources for the app deployed on tomcat and I have updated my build process to allow this to happen. Doing a maven build (outside eclipse) works as…

Noremac
- 3,445
- 5
- 34
- 62
4
votes
1 answer
What is target/m2e-wtp/web-resources in Deployment Assembly?
I created a webapp project using Maven in Eclipse, and I found there is a source named target/m2e-wtp/web-resources folder in "Deployment Assembly" configuration card. What does this source stand for? Should I keep it or delete it?

Y.L.
- 1,274
- 6
- 23
- 39
4
votes
0 answers
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result
I created a web project inspired by jsf-blank.zip from JSF 2 with Facelets, Ajax, and PrimeFaces. After a few days of progress (and solving numerous issues, thanks to the SO community, mainly) with my site I'm stuck at:
HTTP 404 - The requested…

Gerold Broser
- 14,080
- 5
- 48
- 107