linugb118--java space

Java

Mulestudio 运行demo出错

现象:
 执行demo,比如helloexample ,点击“run as mule application”,弹出框“Could not find the main class.Program will exit”
控制台出现:
java.lang.NoClassDefFoundError: org/mule/tooling/server/application/ApplicationDeployer
Exception in thread "main" 

解决方法:
 是因为jdk 有问题,在mule官网上要求

Before installing Mule Studio, ensure that the host machine has one of the following Java Development Kit versions installed on it:

  • Standard Edition 1.6.0_26 (also known as JDK SE 6 Update 26) or more recent
  • Enterprise Edition 1.6u3 (JDK EE 6 Update 3) or more recent
  • Any version (SE or EE) of JDK 7
    在java build path--》libraries 选择jre system library 为jdk1.7就可以。

posted on 2012-10-18 17:22 linugb118 阅读(336) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 

My Links

Blog Stats

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜