1. 程式人生 > >myeclipse專案匯入到eclipse中缺jar包

myeclipse專案匯入到eclipse中缺jar包

解決方法:

修改.classpath檔案,重新重新整理一下專案即可,在.classpath檔案中,加入
<classpathentry kind="var" path="TOMCAT_HOME/lib/servlet-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jasper.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jsp-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/el-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/annotations-api.jar"/>
=============================分割線=======================================


下面是是myeclipse環境,把他去掉。(不去掉關係也不大)
<classpathentry kind="con" path="com.genuitec.eclipse.j2eedt.core.J2EE14_CONTAINER"/>