?? During the project development process, when you import a shared project that was downloaded from OKSVN, several items appear in the different IDE import and export issues, for example, the following notes for forgetting to do:
1 class path problems
The IDE that most developers use in Java development is myeclipse and Eclipse, and the easiest problem to import from MyEclipse to eclipse is the classpath problem. Since MyEclipse basically integrates the entire class library, it is similar to the class library we built ourselves under eclipse. All import-related class libraries are references. So the first thing to do when importing items from MyEclipse to eclipse is the " project", "right", "Build Path", "Configure Build Path", "Libraries", Change 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. The demo sample is as follows:
Google, Baidu have no answer. It was later solved by a similar problem (similar to the question: Target runtime Apache Tomcat 6.0 is not defined)
The workaround is: in the. Settings folder under the project folder, 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 < Runtime name="Com.genuitec.runtime.generic.jee60"/> 4 < fixed facet="Wst.jsdt.web"/> 5 < fixed facet="Jst.web"/> 6 < fixed facet="java"/> 7 < installed facet="java" version="1.6" /> 8 < installed facet= "jst.web" version=" 3.0 "/> 9 < installed facet="Jst.web.jstl" version= "1.2.1" /> Ten < installed facet="Wst.jsdt.web" version= "1.0" /> One </ faceted-project>
View Code
Change <runtime name= "?" Content is the service name under Preference->server-runtime environment, such as the following:
1 <? XML version= "1.0" encoding= "UTF-8"?> 2 < faceted-project> 3 < Runtime name="Apache Tomcat v7.0"/> 4 < fixed facet="Wst.jsdt.web"/> 5 < fixed facet="Jst.web"/> 6 < fixed facet="java"/> 7 < installed facet="java" version="1.6" /> 8 < installed facet= "jst.web" version=" 3.0 "/> 9 < installed facet="Jst.web.jstl" version= "1.2.1" /> Ten < installed facet="Wst.jsdt.web" version= "1.0" /> One </ faceted-project>
Eclipse Import External Project Issues summary