1,導入Eclipse的web項目出錯,
則建立一個項目,分别将src和webContent下的内容進行拷貝,即可。
2,J2EE Struts 中的struts.xml出錯
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
解決辦法:
Eclipse中,Windows->preferences->XML->XMLCatalog->Add->

Location: 填寫struts-2.0.dtd所在的路徑
Key type: Public ID
Key: -//Apache Software Foundation//DTD Struts Configuration 2.0//EN
點選OK,選中項目,F5重新整理,就可以了。