I am encountering this issue on two different machines I have setup. One is running the 1.5 JDK, the other is 1.6 JDK.
-Ryan On Jun 7, 8:25 am, Adam Haskell <[email protected]> wrote: > Without giving this too much thought, do you have a JDK installed or just > the JRE? > > Adam > > > > On Sat, Jun 6, 2009 at 10:42 PM, Ryan Stille <[email protected]> wrote: > > > When I run this code: (or try to consume any other soap web service > > I've tried) > > > <cfset wx = CreateObject("webservice","http://www.webservicex.net/ > > WeatherForecast.asmx?WSDL<http://www.webservicex.net/%0AWeatherForecast.asmx?WSDL> > > ")> > > > I get this error: > > > Type Internal > > Tag Context CFSET (/www/shared/rps/twitter.cfm, Line=10, Column=1) > > Source 7 : > > 8 : <body> > > 9 : > > 10: <cfset wx = CreateObject("webservice","http://www.webservicex.net/ > > WeatherForecast.asmx?WSDL<http://www.webservicex.net/%0AWeatherForecast.asmx?WSDL> > > ")> > > 11: > > ^ Snippet from underlying CFML source > > Stack Trace java.lang.NoClassDefFoundError: sun/tools/javac/Main > > at com.naryx.tagfusion.cfm.xml.ws.dynws.WSDL2Java.compileOutput > > (Unknown Source) > > at > > > com.naryx.tagfusion.cfm.xml.ws.dynws.DynamicWebServiceStubGenerator.buildCl > > ientClasses > > (Unknown Source) > > at > > > com.naryx.tagfusion.cfm.xml.ws.dynws.DynamicWebServiceStubGenerator.generat > > eStub > > (Unknown Source) > > at > > com.naryx.tagfusion.cfm.xml.ws.dynws.DynamicWebServiceInvoker.getStub > > (Unknown Source) > > at com.naryx.tagfusion.cfm.tag.cfINVOKE.prepareWSObjectData(Unknown > > Source) > > at com.naryx.tagfusion.cfm.engine.cfWSObjectData.(Unknown Source) > > at com.naryx.tagfusion.cfm.engine.cfWSObjectData.(Unknown Source) > > at com.naryx.tagfusion.cfm.engine.cfWSObjectData.(Unknown Source) > > > Searching through the archives I see someone had a similar problem in > > 2008, something was done to the code base that supposedly fixed it. I > > am running OpenBD 1.1 on Tomcat 6 on Java 1.6. I've tried Java 1.5, > > too. > > > The weird thing is I also have Adobe CF and Railo deployed on this > > same server. Railo consumes the web service just fine, but Adobe CF > > throws this error: > > > coldfusion.jsp.CompilationFailedException: Errors reported by Java > > compiler: /www/WEB-INF/cfusion/stubs/WS1167679061/net/webservicex/www/ > > ArrayOfWeatherData.java:10: cannot access java.io.Serializable bad > > class file: /usr/java/jdk1.6.0_13/jre/lib/rt.jar(java/io/ > > Serializable.class) class file has wrong version 49.0, should be 48.0 > > Please remove or make sure it appears in the correct subdirectory of > > the classpath. public class ArrayOfWeatherData implements > > java.io.Serializable { ^ 1 error . > > > Any ideas??? > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
