2017-02-16 18 views
0

初めてcfを使用して、Bluemixに単純なアプリケーションをデプロイしようとしています。CF pushing - 指定されたファイルが見つかりません

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を実行したとき、私は戦争のファイルを持っている:私はCFプッシュしようとすると、私はこのエラーを取得します。

どうしてですか?

ところで、私はコンソールにWindowsとCMDERを使用しています。

答えて

1

ファイルがローカルディレクトリにあるように、あなたが使用/helloServletMaven.warを持っていないので、それはすなわち、スラッシュ(/)を削除し、見え

cf push helloServletMaven -p helloServletMaven.war

+0

あなたは私の友人の男です、ありがとう –

関連する問題