2

Exception message

Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher

Java -version

java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
Alex R
  • 11,364
  • 15
  • 100
  • 180

1 Answers1

5

your issue is not with the java version, but with your spring version. take a look here. Upgrade to newer spring version

Community
  • 1
  • 1
Nir Levy
  • 12,750
  • 3
  • 21
  • 38