0
我第一次使用cf,試圖將簡單的應用程序部署到Bluemix。當我嘗試CF推,我得到這個錯誤:CF推送 - 系統找不到指定的文件
E:\Program Files\tomcat\apache-tomcat-8.0.41\webapps\helloServletMaven\target
λ cf push /helloServletMaven -p /helloServletMaven.war
Creating app /helloServletMaven in org alexander.kirwan/space ORG as [email protected]
OK
Using route helloservletmaven.mybluemix.net
Binding helloservletmaven.mybluemix.net to /helloServletMaven...
OK
FAILED
Error processing app files: GetFileAttributesEx E:\helloServletMaven.war: The system cannot find the file specified.
E:\Program Files\tomcat\apache-tomcat-8.0.41\webapps\helloServletMaven\target
λ ls
classes/ generated-sources/ helloServletMaven/ helloServletMaven.war m2e-wtp/ maven-archiver/ maven-status/ test-classes/
E:\Program Files\tomcat\apache-tomcat-8.0.41\webapps\helloServletMaven\target
但你可以看到,當我運行ls
,我確實有戰爭文件。
這是怎麼發生的?
順便說一下,我使用Windows和CMDER作爲控制檯。
你我的朋友是男人,感謝 –