Hello,
I just upgraded the m2eclipse plugin to 0.9.4 from 0.12. 

After that I cannot deploy my multi-module project to Tomcat through Eclipse
anymore. When I try doing that, Eclipse complains that other modules that my
war project depends on are missing (it deploys all other dependencies
correctly). The exact message it gives is:

"Publishing failed.
Resouce "Module1" is missing.
Resource "Module2" is missing."
(where Module1 and Module2 are the names of other modules in the project).

Why could that be happening?

Just in case, here is my .classpath file (for the web module):
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" output="target/classes" 
path="src/main/java"/>
        <classpathentry excluding="**" kind="src" output="target/classes"
path="src/main/resources"/>
        <classpathentry kind="src" output="target/test-classes"
path="src/test/java"/>
        <classpathentry excluding="**" kind="src" output="target/test-classes"
path="src/test/resources"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry combineaccessrules="false" kind="src" path="/Module1"/>
        <classpathentry combineaccessrules="false" kind="src" path="/Module2"/>
        <classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="target/classes"/>
</classpath>

and here is my .project file (again for the web project):
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>Module3</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>org.eclipse.wst.common.project.facet.core.builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>org.eclipse.wst.validation.validationbuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        <name>org.maven.ide.eclipse.maven2Builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
                <nature>org.maven.ide.eclipse.maven2Nature</nature>
                
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
                
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
                <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
        </natures>
</projectDescription>

This is happening both on Tomcat 5 and 6.

Thanks in advance!

Papapara Tudu








-- 
View this message in context: 
http://www.nabble.com/Upgraded-to-0.9.4---cannot-deploy-to-Tomcat-tp18753438p18753438.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to