COM.GENUITEC.RUNTIME.GENERIC.JEE60 is not defined

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.