July 7, 2017 at 2:04 am #529527
we have MyEclipse 2017 CI 7 and we have a maven web dynamic project with Resin 3.
In the pom.xml there is a error that I can not solve :
“Cannot install Web Fragment Module 3.0 facet. It is incompatibile
with already installed facets: Dynamic Web Module 2.4. Please
modify project configuration.”
But in Facet -> Web Module the 2.4 is not present in the list.
Any idea or hint to fix it ?July 7, 2017 at 4:40 am #529537
Sorry you’re seeing this problem. Where is that error message seen? Perhaps a screenshot would help. Also, to help us replicate the problem, can you send us the pom.xml file and the metadata for your project (that is, the .project file and the .settings folder under the project folder). You can PM the zipped files to me, rather than attach them here, if you prefer.July 10, 2017 at 5:55 am #529745
Thanks for the files. I’ve asked development to take a look and hopefully we’ll have more advice for you soon. Did you make some change to the pom just before this error appeared? The more information you can give us about the project and related projects, the better we’ll be able to help. For example, is the cmsservice-client project, or other project dependencies, a web fragment projects?
Regarding the Dynamic Web Module version, you can see this by right clicking on the project and going to Properties, then looking at the Project Facets page.July 19, 2017 at 3:35 am #530989
Sorry for the delay; as yet, we’ve been unable to replicate your issue or determine its possible cause. However, as you didn’t answer the questions I put in my last reply, can we assume that you’ve managed to resolve the problem?July 19, 2017 at 5:34 am #530996
I do not solve the problem directly … I set to not notify the problem in Eclipse, but if I change the pom the error appears again and I have to set to not notify. Luckly the change of the pom is very rare.
After investigation I supose that I have a old project (servlet 2.5) and this configuration is removed from Eclipse version used in the last MyEclipse (I see that start from 3.0)
That’s all for me.July 19, 2017 at 6:03 am #530997
Sorry you’re still seeing this problem. What you can try, is to take a back up of your project (unless you have it in a source control system), then delete it from the workspace, but don’t select the option to delete the project contents. Now delete the .project file, the .classpath file and the .settings folder, from the project folder. Lastly, import the project as a maven project, rather than as an eclipse project. To do this, select File->Import->Maven->Existing Maven Projects, click Next and browse to the the folder containing your maven project (this may be the workspace folder), select the pom for the project and click Finish. This should then create all the necessary MyEclipse metadata for the project, which should, hopefully, be error free.
Please let us know how you get on, if you try it.