Ibm mobilefirst mobile first cli项目部署失败

Ibm mobilefirst mobile first cli项目部署失败,ibm-mobilefirst,mobilefirst-cli,Ibm Mobilefirst,Mobilefirst Cli,当我尝试使用MFPCLI部署项目时,会出现以下错误 xxxx-Macmini:Nauth user-x$ mfp build App Nauth was successfully built. xxxx-Macmini:Nauth user-x$ mfp deploy Initializing MobileFirst Console Error: The MobileFirst server that you have configured does not appear t

当我尝试使用MFPCLI部署项目时,会出现以下错误

xxxx-Macmini:Nauth user-x$  mfp  build  
App Nauth was successfully built.

xxxx-Macmini:Nauth user-x$  mfp deploy  
Initializing MobileFirst Console  
Error: The MobileFirst server that you have configured does not appear to be running. Start the server with 'mobilefirst start'.
mfp信息

xxxx Macmini:Nauth user-x$mfp信息
OS:darwin x64发行版:11.4.2 系统内存:4096 MB节点中有128 MB可用空间:v0.10.30 MobileFirst CLI:7.0.0.00.20150610-1400当前目录: /卷/开发/wlsamples/NAuth2/apps/Nauth

当前项目:/Volumes/Development/wlsamples/NAuth2

适配器:SqlAuth (/Volumes/Development/wlsamples/NAuth2/adapters/SqlAuth/SqlAuth.xml) 描述:SqlAuth类型:sql过程:readuser, 提交认证,获取平衡

应用:Nauth (/Volumes/Development/wlsamples/NAuth2/apps/Nauth/application descriptor.xml) 描述:Nauth类型:混合应用程序功能:环境: iphone外观:

服务器位置: /Users/user-x/.ibm/mobilefirst/7.0.0.00.20150610-1353/server 二元的: /Users/user-x/.ibm/mobilefirst/7.0.0.00.20150610-1353/server/wlp/bin/server MobileFirst实例: /Users/user-x/.ibm/mobilefirst/7.0.0.00.20150610-1353/server/wlp/usr/servers/worklight objc[26232]:类JavaLaunchHelper在这两种语言中都实现 /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/bin/Java 和 /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/libinstrument.dylib。 将使用其中一个。哪一个是未定义的。WebSphere Java上的应用服务器8.5.5.4(1.0.7.cl50420141121-1414) HotSpot(TM)64位服务器虚拟机,版本1.8.0_45-b14(en_US)

环境变量:TERM_程序:Apple_终端rvm_bin_路径: /Users/user-x/.rvm/bin术语:xterm-256color SHELL:/bin/bash TMPDIR: /var/folders/0m/ftx97h0n1rbcdwb3b3sv18lm0000gn/T/ Apple\u PubSub\u Socket\u Render:/tmp/launch pbGaeh/Render 学期课程版本:303.2学期课程ID: 8CB82941-523E-4034-BCA0-470F186ED261用户:用户-x命令\u模式: unix2003 _系统类型:Darwin rvm_path:/Users/user-x/.rvm SSH\u AUTH\u SOCK:/tmp/launch-n9tSIx/Listeners __CF_USER_TEXT_ENCODING:0x1F5:0:0 Apple_Ubiquity_Message:/tmp/launch bCTtmF/Apple_Ubiquity_Message WEBWORKS_HOME: /应用程序/BB10 WebWorks SDK 2.2.0.15 rvm_前缀:/Users/user-x 路径:/Applications/BB10 WebWorks SDK 2.2.0.15:/Applications/BB10 WebWorksSDK 2.2.0.15/cordova blackberry/bin/dependencies/bb tools/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/X11/bin:/usr/local/git/bin:/Applications/IBM/MobileFirst CLI:/Users/user-x/.rvm/bin PWD:/Volumes/Development/wlsamples/NAuth2/apps/Nauth JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home _系统架构:i386 _system_版本:10.7 rvm_版本:1.26.11(最新)SHLVL:2 HOME:/Users/user-x LOGNAME:user-x LC_类型:UTF-8显示: /tmp/launch-BI7HzF/org.x:0 _系统名称:OSX _:/Applications/IBM/MobileFirst CLI/IBMnode/bin/node WLP\u USER\u DIR:/Users/USER-x/.IBM/MobileFirst/7.0.0.00.20150610-1353/server/WLP/usr

正确设置了Java主页
xxxx Macmini:Nauth user-x$echo$JAVA\u HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home

MauliListStand基金会不支持java 8——您只能使用java 6或7。
  • 执行(1)后,还要卸载CLI(/Applications/IBM/MobileFirst CLI/Uninstaller),并从IBM Fix Central下载最新的可用iFix,其中包含CLI的多个错误修复,包括问题中提到的服务器的潜在修复

  • 如果我的回答对你有帮助,请记为已回答。