java - Why am I getting "Unsupported Major Minor Version 52.0" compile time error? -


i have spring project running on jre 8.0. reason, in application context xml file, i'm getting following error tag:

<context:component-scan base-package="com.myproject.controller" /> 

error:

error occured processing xml 'com/myproject/controller/protocol/fetchresponsebody : unsupported major.minor version 52.0'. see error log more details   servlet-context.xml /eyecontrol/src/main/webapp/web-inf/spring  line 19 spring beans problem 

the class in question annotation follow:

@target({ elementtype.type, elementtype.method }) @retention(retentionpolicy.runtime) @documented @responsebody public @interface fetchresponsebody {  } 

the thing is, i'm getting error on pc. laptop not have error @ all. also, regardless of compile time "error", not seem have issues running whether through eclipse or through terminal.

the run-as configuration selected jre8.0 , build path contains same jre. issue doesn't hinder progress sure hall annoying see!

any ideas?

right click on project in package explorer(in eclipse)

java compiler -> check if compiler compliance level set 1.8


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -