I’m running RAD 8.0.3 with
m2e v1.1.0.20111108-0328, m2e wtp 0.14.0.20110928-2045
And I still get the
validation error
Broken single-root rule: Only
one <wb-resource> element with a deploy path of "/" is allowed
for a web
project
org.eclipse.wst.common.component
/nettpensjon-bp-service-web/.settings
I this it’s because of the
duplication of deploy-path="/"
Here’s the
org.eclipse.wst.common.component file :
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module
deploy-name="nettpensjon-bp-service-web">
<wb-resource
deploy-path="/"
source-path="/target/m2e-wtp/web-resources"/>
<wb-resource
deploy-path="/"
source-path="/src/main/webapp"/>
<wb-resource
deploy-path="/WEB-INF/classes"
source-path="/src/main/java"/>
<wb-resource
deploy-path="/WEB-INF/classes"
source-path="/src/main/resources"/>
<wb-resource
deploy-path="/WEB-INF/classes"
source-path="/src/test/resources"/>
<wb-resource
deploy-path="/WEB-INF/classes"
source-path="/src/test/java"/>
<dependent-module
archiveName="nettpensjon-bp-service-core-1.0.9-SNAPSHOT.jar"
deploy-path="/WEB-INF/lib"
handle="module:/resource/nettpensjon-bp-service-core/nettpensjon-bp-service-core">
<dependency-type>uses</dependency-type>
</dependent-module>
<property
name="context-root"
value="nettpensjon-bp-service-web"/>
<property
name="java-output-path"
value="/nettpensjon-bp-service-web/target/classes"/>
</wb-module>
</project-modules>
How can I avoid this ?
Med vennlig hilsen
Bjørn Willy Arntzen
Seniorkonsulent
Kommunal Landspensjonskasse gjensidig
forsikringsselskap
Dronning Eufemias gate 10, 0191 Oslo, Pb 400, Sentrum, 0103 Oslo
Mob: +4797759007
www.klp.no