Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.class文件中的版本号错误-Mule、Soap和Restful_Soap_Mule - Fatal编程技术网

.class文件中的版本号错误-Mule、Soap和Restful

.class文件中的版本号错误-Mule、Soap和Restful,soap,mule,Soap,Mule,我有两个web服务,一个SOAP和一个Retsful服务。我通过Mule托管Soap服务 作为Soap服务的一部分,我调用Restful服务,使用参数执行GET 使用SoapUI,我测试Soap服务,但在Mule日志中出现以下错误: Message : Component that caused exception is: SedaService{xxService}. Message payload is of type: Object[] 类型:org.mule

我有两个web服务,一个SOAP和一个Retsful服务。我通过Mule托管Soap服务

作为Soap服务的一部分,我调用Restful服务,使用参数执行GET

使用SoapUI,我测试Soap服务,但在Mule日志中出现以下错误:

Message               : Component that caused exception is: SedaService{xxService}. Message payload is of type: Object[]
类型:org.mule.api.service.ServiceException

代码:MULE_错误--2

JavaDoc: 有效负载:[Ljava.lang.Object;@12856b4


异常堆栈是:

  • .class文件中的版本号错误(java.lang.UnsupportedClassVersionError) java.lang.ClassLoader:-2(http://java.sun.com/j2se/1.5.0/docs/api/java/lang/UnsupportedClassVersionError.html)

  • 导致异常的组件是:SedaService{xService}。消息负载的类型是:Object[](org.mule.api.service.ServiceException) org.mule.component.DefaultLifecycleAdapter:216(http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/service/ServiceException.html)


  • 根异常堆栈跟踪: java.lang.UnsupportedClassVersionError:.class文件中的版本号错误 位于java.lang.ClassLoader.defineClass1(本机方法)

    我正在用JDK5运行Mule,并用JDK5编译了Restful服务,因此它看起来不像是编译器/运行decrepency


    你们有什么想法吗?

    完全异常可能会有所帮助,但请尝试使用Java 6,很可能是在您的环境中使用此JDK编译的