1 class path problems
in Java Development Most developers use the IDE MyEclipse and Eclipse, and the easiest problem to import from MyEclipse to eclipse is the classpath problem. Because MyEclipse basically integrates all of the class libraries, similar to the class libraries we built under Eclipse, all the import-related class libraries are references, so the first thing to do when importing projects from MyEclipse to Eclipse is the project- > "Configure Build Path", "right", "Build Path", "libraries", modifying the class library path
2 Com.genuitec.runtime.generic.jee60 is not defined.
That's the problem I just met tonight. Open the problem view with the following hints:
Google, Baidu have no answer, and later through a similar problem to be solved (similar problem is: Target runtime Apache Tomcat 6.0 are not defined)
The solution is: in the. Settings folder under the project directory, open the Org.eclipse.wst.common.project.facet.core.xml file with the following contents:
1<?XML version= "1.0" encoding= "UTF-8"?>2<Faceted-project>3<RuntimeName="Com.genuitec.runtime.generic.jee60"/>4<FixedFacet="Wst.jsdt.web"/>5<FixedFacet="Jst.web"/>6<FixedFacet="Java"/>7<InstalledFacet="Java" Version="1.6"/>8<InstalledFacet="Jst.web" Version="3.0"/>9<InstalledFacet="Jst.web.jstl" Version="1.2.1"/>10<installed facet= "Wst.jsdt.web" version= "1.0" />11 </faceted-project>
View Code
Change <runtime name= "?" Content is the service name under Preference->server-runtime environment, as follows:
1<?XML version= "1.0" encoding= "UTF-8"?>2<Faceted-project>3<RuntimeName="Apache Tomcat v7.0"/>4<FixedFacet="Wst.jsdt.web"/>5<FixedFacet="Jst.web"/>6<FixedFacet="Java"/>7<InstalledFacet="Java" Version="1.6"/>8<InstalledFacet="Jst.web" Version="3.0"/>9<InstalledFacet="Jst.web.jstl" Version="1.2.1"/>10<installed facet= "Wst.jsdt.web" version= "1.0" />11 </faceted-project>
Com.genuitec.runtime.generic.jee60 is not defined