Search code examples
muleesb

Error deploying Mule application in mule standalone 3.5.0


I run my application with the embedded server (mule server 3.5.0 CE) in anypoint studio and its deployed well but when i try to deploy it in mule standalone 3.5.0 i get this error:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'pushV1'                                         +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO  2015-04-08 17:14:17,009 [WrapperListener_start_runner] org.mule.module.launcher.MuleApplicationClassLoader: [pushV1] Loading the following jars:
=============================
file:/root/Desktop/mule-standalone-3.5.0/apps/pushV1/lib/mysql-connector-java-5.1.32.jar
file:/root/Desktop/mule-standalone-3.5.0/apps/pushV1/lib/json-simple-1.1.jar
=============================

INFO  2015-04-08 17:14:17,009 [WrapperListener_start_runner] org.mule.module.launcher.log4j.ArtifactAwareRepositorySelector: Found logging config for application 'pushV1' at 'file:/root/Desktop/mule-standalone-3.5.0/conf/log4j.properties'
ERROR 2015-04-08 17:14:17,648 [WrapperListener_start_runner] org.mule.module.launcher.DefaultArchiveDeployer: 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy artifact 'pushV1', see below            +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.DeploymentInitException: PropertyBatchUpdateException: Failed properties: Property 'objectClassName' threw exception; nested exception is java.lang.UnsupportedClassVersionError: ws1/Transformer : Unsupported major.minor version 52.0
    at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:181)
    at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62)
    at ...

http://pastebin.com/xvmNrxx9


Solution

  • Check the version which you are compiling the source code in the IDE... looks like you are using java 8.

    After that, check which version is using your mule-standalone-server.