Multiple annotations found web XML

Multiple annotations found web XML

If you are getting below exception while configuring your application with latest facet:

Multiple annotations found at this line:

Solution: This happens if your IDE or your environment doesn’t support latest version of project facet which your are trying to use. As you see below project facet set to module 3.0 and web.xml file uses 2.5 version:

Multiple annotations found web XML

To fix this: Please keep both in sync as below:

Multiple annotations found web XML

web.xml:

Note: If you are not able to change Project Facet from eclipse GUI then go to Navigator view and see below where to change version value:

Multiple annotations found web XML

 

Leave a Reply

Your email address will not be published. Required fields are marked *