[ http://jira.codehaus.org/browse/XFIRE-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92585 ]
Reshat Sabiq commented on XFIRE-478: ------------------------------------ A. After retrotranslating the classes and test class to 1.4, the exception is: Time: 0.219 There was 1 error: 1) testClient(net.webservicex.geoip.GeoIPClientTest)java.lang.UnsupportedClassVe rsionError: org/codehaus/xfire/annotations/jsr181/Jsr181WebAnnotations (Unsuppor ted major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 7) at java.net.URLClassLoader.defineClass(URLClassLoader.java:474) at java.net.URLClassLoader.access$500(URLClassLoader.java:108) at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:846) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java:389 ) at java.net.URLClassLoader.findClass(URLClassLoader.java:370) at java.lang.ClassLoader.loadClass(ClassLoader.java:562) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442) at java.lang.ClassLoader.loadClass(ClassLoader.java:494) at net.webservicex.geoip.jaxb.GeoIPServiceClient.create1(GeoIPServiceCli ent.java:57) at net.webservicex.geoip.jaxb.GeoIPServiceClient.<init>(GeoIPServiceClie nt.java:26) at net.webservicex.geoip.GeoIPClientTest.testClient(GeoIPClientTest.java :13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:60) FAILURES!!! Tests run: 1, Failures: 0, Errors: 1 B. After retrotranslating the classes and test class to 1.4, and running w/ java 1.5+, the exception is: Time: 0.375 There was 1 error: 1) testClient(net.webservicex.geoip.GeoIPClientTest)org.codehaus.xfire.annotatio ns.AnnotationException: Class net.webservicex.geoip.jaxb.GeoIPServiceSoap does n ot have a WebService annotation at org.codehaus.xfire.annotations.AnnotationServiceFactory.create(Annota tionServiceFactory.java:287) at org.codehaus.xfire.service.binding.ObjectServiceFactory.create(Object ServiceFactory.java:365) at net.webservicex.geoip.jaxb.GeoIPServiceClient.create1(GeoIPServiceCli ent.java:59) at net.webservicex.geoip.jaxb.GeoIPServiceClient.<init>(GeoIPServiceClie nt.java:26) at net.webservicex.geoip.GeoIPClientTest.testClient(GeoIPClientTest.java :13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) FAILURES!!! Tests run: 1, Failures: 0, Errors: 1 C. W/o retrotranslating the test class, but only retrotranslating classes to 1.4, and running test w/ 1.5+, the exception is: Time: 0.36 There was 1 error: 1) testClient(net.webservicex.geoip.GeoIPClientTest)org.codehaus.xfire.annotatio ns.AnnotationException: Class net.webservicex.geoip.jaxb.GeoIPServiceSoap does n ot have a WebService annotation at org.codehaus.xfire.annotations.AnnotationServiceFactory.create(Annota tionServiceFactory.java:287) at org.codehaus.xfire.service.binding.ObjectServiceFactory.create(Object ServiceFactory.java:365) at net.webservicex.geoip.jaxb.GeoIPServiceClient.create0(GeoIPServiceCli ent.java:59) at net.webservicex.geoip.jaxb.GeoIPServiceClient.<init>(GeoIPServiceClie nt.java:26) at net.webservicex.geoip.GeoIPClientTest.testClient(GeoIPClientTest.java :13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) FAILURES!!! Tests run: 1, Failures: 0, Errors: 1 > java.lang.UnsupportedClassVersionError: org/codehaus/xfire/gen/WsGen > (Unsupported major.minor version 49.0) > ----------------------------------------------------------------------------------------------------------- > > Key: XFIRE-478 > URL: http://jira.codehaus.org/browse/XFIRE-478 > Project: XFire > Issue Type: Test > Components: Generator > Affects Versions: 1.1, 1.1.1 > Environment: WinXpPro v5.1 sp2; jdk142_05; xfire-1.1.1 > Reporter: Jurgen Stoop > Assignee: Dan Diephouse > Fix For: 1.1, 1.1.1 > > > I'm trying to generate client classes for Jdk1.4 > I've got the well known version difference problem, but it's not the same as > other support requests, because I'm getting it on class WsGen. > I've read that there is a chance of jdk clashes but I suspect it's not the > case here because I'm using a direct path to the java.exe. > My command line: > Y:\bea814\jdk142_05\bin\java -cp > ;C:\xfire-1.1.1\xfire-all-1.1.1.jar;C:\xfire-1.1.1\modules\xfire-generator-1.1.1.jar;Y:\apache-ant-1.6.2\lib\ant.jar > org.codehaus.xfire.gen.WsGen -wsdl EFCDocumentHandler.wsdl -o . -p > com.aigfpc.efc.documenthandler > The output: > Exception in thread "main" java.lang.UnsupportedClassVersionError: > org/codehaus/xfire/gen/WsGen (Unsupported major.minor version 49.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:539) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > at java.net.URLClassLoader.access$100(URLClassLoader.java:55) > at java.net.URLClassLoader$1.run(URLClassLoader.java:194) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email