Mac OS Catalina上啟動Mule服務器時出現: mac bad cpu type in executable


最近正在學習Mule ESB, 但是在Mac上運行Mule之后得到下面的錯誤:

下載了3.9 和4.2都有相同的錯誤:

Running Mule...
/Users/********/Desktop/mule/mule-standalone-3.9.0-hf1/bin/./mule: line 499: /Users/******/Desktop/mule/mule-standalone-3.9.0-hf1/lib/boot/exec/wrapper-macosx-universal-32: Bad CPU type in executable

原因:

升級到Mac OS Catalina之后,與系統不兼容

解決方案:

  1. 從下面的地址下載Java service wrapper,選擇64位 :
    http://wrapper.tanukisoftware.com/doc/english/download.jsp#stable

  2. 下載之后解壓縮,復制lib目錄下wrapper.jar和bin/目錄下wrapper到你的Mule軟件/lib/boot/exec/目錄下, 移動之后把wrapper文件重命名為wrapper-macosx-universal-32

  3. 到Mule的bin目錄下執行./mule. 如果遇到系統提示不信任需要到系統偏好設置中的安全性與隱私上修改.

  4. 成功運行了!!!

192:bin ***$ mule start
MULE_HOME is set to /Users/***/Desktop/mule/mule-standalone-3.9.0-hf2
Starting Mule...
192:bin ***$ mule status
MULE_HOME is set to /Users/***/Desktop/mule/mule-standalone-3.9.0-hf2
Mule is running (18746).

有問題可以給我留言哦

參考文檔: https://stackoverflow.com/questions/37778728/run-mule-standalone-community-edition-on-windows-64-bit-machine


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM