Maven Java EE Configuration Marker with Java Server Faces 1.2

后端 未结 11 598
抹茶落季
抹茶落季 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 01:59

    I had the same problem. After adding velocity dependencies in my maven project i was getting the same error in marker tab. Then I noticed that the web.xml file that maven project creates has servlet2.3 schema. When i changed it to servlet 3.0 schema and save the project then this error gone. Here is the web.xml file that maven creates

    
    
    
        Archetype Created Web Application
    
    

    Change it to

    
        Archetype Created Web Application
    
    
    

    save the project, and your error would gone.

提交回复
热议问题