Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/cognospaContext.xml]: Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.adm.infoportal.cognos.pojo.PtParamStruct)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
解决:
编译级别定为5.0