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作为控制台。
你我的朋友是男人,感谢 –