?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