原文:[org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher 問題--MyEclipse設置JDK版本

org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource annotation.xml nested exception is java.lang.IllegalStateException: ...

2018-08-30 17:50 0 939 推薦指數:

查看詳情

tomcat啟動報are only available on JDK 1.5 and higher錯誤

項目中用的是spring低版本(2.5.6),今天用jre 8測試了一下,發現錯誤: 看源碼是org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser自動檢測,jdk版本檢測時需要 ...

Fri Jul 31 19:28:00 CST 2020 0 694
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM