Spring/Java error: namespace element 'annotation-config' … on JDK 1.5 and higher

后端 未结 11 1198
Happy的楠姐
Happy的楠姐 2020-11-29 00:47

I have Spring/Java App that is compiled with Compiler compliance level 1.5.

I have a new Linux setup where I downloaded Apache Tomcat 8.0.8<

11条回答
  •  心在旅途
    2020-11-29 01:32

    
    org.springframework
    spring
    2.5.6
    

    TO =>

    
        org.springframework
        spring-core
        4.1.4.RELEASE
    
    
        org.springframework
        spring-context
        4.1.4.RELEASE
    
    

    OR

    1. Right click on project property.
    2. Go to/ Click on "Java Build Path".
    3. Select Libraries tab and double click on "JRE System Libry"
    4. On that pop up select the JDK 1.7 (If you dont have JDK 1.7 ,first install it, then select it from "Execution environment")

    Property

提交回复
热议问题