Skip navigation
samir2
Currently Being Moderated

Web service in Coldfusion 8

Aug 8, 2007 7:40 AM

I have installed coldfusion 8 on jrun and have a MacBook Pro (running in jvm 1.5.0_07). I get a strange error when trying to call web service.

coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: /Applications/JRun4/servers/smart/cfusion-ear/cfusion-war/WEB-INF/cfu sion/stubs/WS865228507/coldfusion/xml/rpc/CFCInvocationException.java: 10: cannot access java.rmi.RemoteException bad class file: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/cl asses.jar(java/rmi/RemoteException.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 CFCInvocationException extends org.apache.axis.AxisFault implements java.io.Serializable { ^ 1 error .

thanks
Samir

  • Currently Being Moderated
    Community Member
    Aug 8, 2007 12:06 PM
    You get this error because the Java version is 1.5 whereas the tools.jar present with cfusion/lib is for java 1.6. You would need to replace the current tools.jar with 1.5 one.
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points