Eclipse - How can I change a 'Project Facet' from Tomcat 6 to Tomcat 5.5?

前端 未结 7 1320
萌比男神i
萌比男神i 2021-01-31 14:01

(Eclipse 3.4, Ganymede)

I have an existing Dynamic Web Application project in Eclipse. When I created the project, I specified \'Default configuration for Apache Tomcat

7条回答
  •  时光说笑
    2021-01-31 14:36

    This is kind of hacking eclipse and you can get into trouble doing this but this should work:

    Open the navigator view and find that there is a .settings folder under your project expand it and then open the file: org.eclipse.wst.common.project.facet.core.xml you should see a line that says: Change that to 2.4 and save.

    Just make sure that your project isn't using anything specific for 2.5 and you should be good.

    Also check your web.xml has the correct configuration:

    
    

提交回复
热议问题