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,137
  • 13
  • 86
  • 164

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,322
  • 3
  • 20
  • 37