Re: Duplicated mapping id

Splash Forums PrettyFaces Users Duplicated mapping id Re: Duplicated mapping id

#21522

mika
Participant

Firstly, i would like to thank you Christian for the support and valuable feedback.

Finally, i found the cause of this crazy problem:

1- I found that eclipse generated 3 copies of LoginBean.class under the following directories in the folder <your-workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps:

WEB-INFclassescommyappsamplebeans

WEB-INFclassestargetclassescommyappsamplebeans

WEB-INFclassestargetapp-nameWEB-INFclassescommyappsamplebeans

2- I tried to run the application from maven tomcat plugin, and everything works fine, the damn error is gone.

3- If you have any ideas how to configure eclipse deployment to avoid such issue this will be very nice.

thanks again for your time and interest to help.