Maven Java EE Configuration Marker with Java Server Faces 1.2

后端 未结 11 587
抹茶落季
抹茶落季 2020-12-14 01:49

I\'m having a weird configuration problem with Maven in Eclipse. Although I can build the project and deploy it to tomcat without any errors, The Marker tab keeps showing th

11条回答
  •  误落风尘
    2020-12-14 02:13

    Eclipse is buggy on factes screen and at times doesn't update the config files in workspace. There are two options one can try :

    1. Go to org.eclipse.wst.common.project.facet.core.xml file located inside .settings folder of eclipse project. Go and manually delete the JSF facet entry. you can also update other facets as well.

    2. Right click project and go to properties->Maven-->Java EE Integeration. choose options : enable project specific settings, Enable Java EE configuration, Maven archiver generates files under the build directory

提交回复
热议问题