mschipperheyn
Jul 27th, 2009, 11:23 AM
Prob to do with the fact that I use JDK 1.5.09 but I thought I would mention it here.
I got this going through the blog post with the hello world for Roo
Cheers,
Marc
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creati
ng bean with name 'entityManagerFactory' defined in file [D:\Java\Projects\Sprin
gRoo\target\classes\META-INF\spring\applicationContext.xml]: Invocation of init
method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad v
ersion number in .class file
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBean Factory.java:1337)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFa ctory.java:476)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.j ava:412)
I got this going through the blog post with the hello world for Roo
Cheers,
Marc
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creati
ng bean with name 'entityManagerFactory' defined in file [D:\Java\Projects\Sprin
gRoo\target\classes\META-INF\spring\applicationContext.xml]: Invocation of init
method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad v
ersion number in .class file
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBean Factory.java:1337)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFa ctory.java:476)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.j ava:412)