简体   繁体   中英

Eclipse build path issue - can't add my project to tomcat server 7

I can't add my project to tomcat server 7, so i went to properties of my project and Dynamic Web module was unchecked. When i try to check that box.

But i got the below error. Please help me to fix it. Thanks in advance.

在此处输入图片说明

Remove remove module configureation from the eclipse setting.

Edit <workspave>\\<project>\\.settings\\org.eclipse.wst.common.project.facet.core.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
    <installed facet="jst.web" version="x.x"/> <-- remove that line.
</faceted-project>

Try again as your picture at IDE.

just select the version of Dynamic Web Module from 3.0 to 2.5 . if you have any problem ,reply this

Clean the .classpath of your project.

Then you can check the box of dynamic web module 3.0.

After checked, you can add the project to your server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2025 STACKOOM.COM