如下服务器jdk1.6 本地改为1.6编译上传后,还是报错?为什么?

ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [file:/home/app/infa/odswebnew/trunk/InfoSys/WebRoot/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/picc/security/entity/main/EdwSerInt, offset=6

牛魔王的故事
浏览 114回答 1
1回答

眼眸繁星

从标题看,你的是jdk版本不对,从下面的代码看是缺少的spring包呢,后面的还是报错jdk版本不对,所以说你的就是jdk环境变量配置的有问题
打开App,查看更多内容
随时随地看视频慕课网APP