Failed to publish a webservice in Mendix 3.0

Hi all, I'll tried to publish a simple webservice with Mendix, but the following critical error appears in the log as soon as I try to invoke it: An unhandled error occurred in the MxRuntime. -------- java.lang.NoSuchMethodError:;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLInputFactory; at nK.b(SourceFile:113) at nK.a(SourceFile:87) at com.mendix.modules.webservices.WebserviceModule.handleWebserviceCall(SourceFile:274) at iE.processRequest(SourceFile:27) at iB.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:840) at com.mendix.m2ee.server.handler.RuntimeHandler.handle( at org.eclipse.jetty.server.handler.HandlerWrapper.handle( at org.eclipse.jetty.server.Server.handle( at org.eclipse.jetty.server.HttpConnection.handleRequest( at org.eclipse.jetty.server.HttpConnection$RequestHandler.content( at org.eclipse.jetty.http.HttpParser.parseNext( at org.eclipse.jetty.http.HttpParser.parseAvailable( at org.eclipse.jetty.server.HttpConnection.handle( at at org.eclipse.jetty.util.thread.QueuedThreadPool$ at Anybody knows what is happening or how to circumvent?
1 answers

The version of the JDK that you are using is too old. The Mendix Runtime requires at least update 22 of JDK 1.6. Note that JDK 1.7 is not yet supported because it is not stable yet.

The Mendix installer installs a recent version of the JDK if there is none. However, it does not upgrade an old JDK installation and I've submitted a ticket to get this fixed.

See also

Also take care that any server you deploy Mendix on runs a recent JDK 1.6.