[jboss-user] [JBoss Tools] - Re: maven and jboss hot deployment does not work correctly

Snjezana Peco do-not-reply at jboss.com
Fri Apr 8 05:22:53 EDT 2011

Snjezana Peco [http://community.jboss.org/people/snjeza] created the discussion

"Re: maven and jboss hot deployment does not work correctly"

To view the discussion, visit: http://community.jboss.org/message/598757#598757

For some reason your warSourceDirectory isn't set correctly.
Try to right-click the project and call Maven>Update Project Configuration.
If this doesn't help, probably there is a bug in the m2eclipse-wtp integration.

A workaround is to replace 
<wb-resource deploy-path="/" source-path="/smsurbano-1.0-SNAPSHOT"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
in the .settings/org.eclipse.wst.common.component.

BTW, since you are using Java EE 6 and JDK 6, you have to set the compiler target and source to 1.6.

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110408/1b0e90c7/attachment-0001.html 

More information about the jboss-user mailing list