|
|
|
Re: Can't start greenpages.web-solution:2.4.0 in virgo-tomcat.3.0.2 [message #772190 is a reply to message #771969] |
Thu, 29 December 2011 02:56  |
Eclipse User |
|
|
|
To avoid conflicts with Maven, WTP, and m2e-wtp, I needed to add the following snippet to the pom.xml
...
<build>
<finalName>simplewebapp</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-1</version>
<configuration>
<archive>
<manifestFile>src/main/webapp/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
...
This tells m2e-wtp to pick the MANIFEST.MF from that specific path. Otherwise it will generate an almost empty MANIFEST.MF, thus breaking the application at deploy time.
|
|
|
Powered by
FUDForum. Page generated in 0.03225 seconds