MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ivost
Post subject: [Closed] Problem with hello web service & jdk 1.4  PostPosted: Oct 28, 2006 - 03:24 AM



Joined: Oct 28, 2006
Posts: 2

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Oct 30, 2006 - 06:46 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

It looks like you have your project in MyEclipse set to compile with Java 5 (default in 3.2) and you are trying to run it under Java 1.4. Go to your project properties, go to Compiler settings, override the workspace default and set it to 1.4 compliance. Then redeploy (after stopping your app server) and try that.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits