从IntelliJ IDEA运行Mule应用程序时java.lang.ClassNotFoundException
同事们,我正在尝试在IntelliJ IDEA中运行Mule应用程序。我配置了运行配置:从IntelliJ IDEA运行Mule应用程序时java.lang.ClassNotFoundException,java,intellij-idea,mule,classnotfoundexception,Java,Intellij Idea,Mule,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
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)
当我运行时,然后接收下一个堆栈跟踪:
我需要检查和更正什么?这似乎是一个类路径问题。
org.mule.MuleServer
在您的类路径中吗?I我的案例:
更改为compile
我研究了系统变量,路径变量,但并没有关于Mule的内容。它在Eclipse中也起作用。我没有使用IntelliJ。我指的是Eclipse构建路径。我想IntelliJ中也可以提供类似的功能来引用外部JAR。