在mule standalone 3.5.0中部署Mule应用程序时出错

时间:2015-04-08 19:53:17

标签: mule esb

我在anypoint studio中使用嵌入式服务器(mule server 3.5.0 CE)运行我的应用程序,并且部署得很好但是当我尝试在mule standalone 3.5.0中部署它时,我收到此错误:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 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

2 个答案:

答案 0 :(得分:1)

检查您在IDE中编译源代码的版本......看起来您正在使用Java 8.

之后,检查哪个版本正在使用您的mule-standalone-server。

答案 1 :(得分:0)

您可以在Anypoint Studio中查看java版本,如下所示 转到 - >窗口 - >单击首选项 - >双击java - >点击已安装的JRE

然后你可以更新java 7或8,如果它在你的系统中