开发者

M2Eclipse deployes WEB-INF into WEB-INF/classes

I import Appfuse 2.1 into Eclipse 3.5 with m2eclipse. When I deploy it to tomcat, my web.xml goes to "WEB-INF\classes\WEB-INF\web.xml" This issue is exactly the same with this one.

I can't find any problems in org.eclipse.wst.common.component file:

<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-pa开发者_运维问答th="src/main/resources"/>

If I change <wb-resource deploy-path="/" source-path="src/main/webapp"/> to <wb-resource deploy-path="/" source-path="target/appfuse_light_210m1-2.1.0-M1"/>, it works. But I don't want to modify org.eclipse.wst.common.component each time I import a project. What's the cause of this problem ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜