A summary of building a Java Web project

Source: Internet
Author: User

?1.Target Runtime com.genuitec.runtime.generic.jee60 is not defined.?

The solution is : in the. Settings folder in the project directory , open the Org.eclipse.wst.common.project.facet.core.xml file with the contents of :

<?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 &l t;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 "/>10 <installed facet=" Wst.jsdt.web "version=" 1.0 "/& Gt;11 </faceted-project>

change <runtime name= "?" > content is the service name under Preference->server-runtime environment, as follows :

<?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 F Acet= "Java" version= "1.6"/> 8 <installed facet= "Jst.web" version= "3.0"/> 9 <installed facet= "Jst.web.jstl" version= "1.2.1"/>10 <installed facet= "Wst.jsdt.web" version= "1.0"/>11 </faceted-project>

2.AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher

Workaround:

1) Reduced JDK version (easy, simple)

2) Modify the spring source code, and then compile the generated JAR file. (more troublesome, not recommended)


A summary of building a Java Web project

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.