I am trying to create hello web service – following the tutorial. I’m using Eclipse 3.2 and JDK 1.4.
When trying to get WSDL I see following error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.codehaus.xfire.spring.ServiceBean’ defined in class path resource [META-INF/xfire/services.xml]: Initialization of bean failed; nested exception is java.lang.UnsupportedClassVersionError: com/test/IHelloWs (Unsupported major.minor version 49.0)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:370)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:103)
…
Looks like xfire problem – I found something on their forums about similar errors due to “xfire … precompiled with 1.5″…
Unfortunately I cannot upgrade to 1.5
What should I try?
Thanks