2015-12-16 78 views
1

同事们,我试图在IntelliJ IDEA中运行Mule应用程序。我配置的运行配置:java.lang.ClassNotFoundException从IntelliJ IDEA运行Mule的应用

Main class: org.mule.MuleServer 
    VM options: -Dmule.verbose.exceptions=true 
    Program arguments: -config \src\main\app\mule-config.xml 
    Working directory: C:\Users\Maya\app-services 
    JRE: Default (1.8 - SDK of 'app-services' module) 

当我再运行接收下一个堆栈跟踪:http://pastebin.com/24Mf3bsy

我需要什么检查和正确的吗?

回答

1

这似乎是一个类路径问题。你的类路径中是org.mule.MuleServer

+0

我看着系统变量,到Path变量并没有什么关于骡子。它也在Eclipse中工作。 – May12

+0

我没有使用IntelliJ。我指的是Eclipse构建路径。我猜IntelliJ中可能存在类似的功能来引用外部罐子。 – harshavmb

0

我我的情况:

  1. 设置运行配置为desribed问题上面
  2. 法新社F4的项目
  3. 改变所有的Maven库从providedcompile
  4. 按确定。运行应用程序

    project structure

相关问题