I have several Spring XML files within the source folders of Eclipse projects that are being flagged as having UnsupportedClassVersionError issues. I have tried triple cleaning, closing and reopening projects, and deleting and rechecking out projects from revision control but nothing can make them go away.
Any thoughts?
Unexpected exception parsing XML document from file [/path/to/workspace/project/test/some/random/package/ClassBeanNameGeneratorTest.xml]; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class fileCode:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> <context:component-scan base-package="some.random.package" name-generator="some.random.package.ClassBeanNameGenerator"/> </beans>


Reply With Quote
