当我在我的 Mac 上启动 Mule Studio 的新安装时,我收到以下错误:
然后我转到 Preferences/Mule Studio/Maven,选中复选框,指向 Maven 主目录(“/Users/name/tools/apache-maven-3.1.1”),然后保存设置。
当我重新启动 Mule Studio 时,它会出现相同的错误,并且我添加的 Maven 设置是空白的。我的 .bash_profile 中也有以下设置:
export MAVEN_HOME=/Users/name/tools/apache-maven-3.1.1
export M2_HOME=/Users/name/tools/apache-maven-3.1.1
export M2=$M2_HOME$/bin
export PATH=$PATH:$M2
从终端,Maven 版本是:
~ $ mvn --version
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 09:22:22-0600)
Maven home: /Users/name/tools/apache-maven-3.1.1
Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF8
OS name: "mac os x", version: "10.9", arch: "x86_64", family: "mac"
在 Mule Studio 错误日志中,重复此信息:
!ENTRY org.eclipse.core.net 1 0 2013-10-29 08:30:52.973
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!SESSION 2013-10-29 09:56:40.767 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_29
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/name/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/name/.eclipse_keyring -showlocation
!ENTRY org.mule.tooling.core 1 0 2013-10-29 09:56:44.114
!MESSAGE 'M2_REPO has been previously set. Not adding it again to the workspace.
我需要做什么来修复这个错误?