JHipster Cloudfoundary投掷"错误上传应用程序"错误

时间:2014-11-26 18:57:57

标签: cloudfoundry jhipster

我正在尝试使用jhipster cloudfoundary命令将我的Jhipster应用程序推送到云代工厂。在流程结束时,它正在抛出错误

Error uploading application.
GetFileAttributesEx C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006\target\*.war: The filename, directory name or volume label syntax is incorrect.

谷歌建议像GetFileAttributesEx这样的东西不喜欢特殊字符。我不能想我可能会做什么导致文件名语法错误。我尝试删除目标* .war文件并重新编译但没有帮助。我在Windows 8.1 64上,已应用所有更新。

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006>yo jhipster:cloudfoundry
CloudFoundry configuration is starting
? Name to deploy as: modeldr006
? Which profile would you like to use? dev
? What is the name of your database service? cleardb
? What is the name of your database plan? spark

Creating Cloud Foundry deployment files
identical deploy\cloudfoundry\manifest.yml

Checking for an existing Cloud Foundry hosting environment...

Creating your Cloud Foundry hosting environment, this may take a couple minutes...
Creating the database
Creating service modeldr006 in org ModelDrivers / space development as greg.soulsby@ibpartners.co.uk...

OK


Building the application with the development profile
[INFO] Scanning for projects...


[WARNING]

[WARNING] Some problems were encountered while building the effective model for us.modeldrivers.us:modeldr006:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework.hateoas:spring-hateoas:jar -> duplicate declaration of version (?) @ line
318, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building modeldr006 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ modeldr006 ---

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ modeldr006 ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 9 resources

[INFO] Copying 22 resources


[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ modeldr006 ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 115 source files to C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006\target\classes

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ modeldr006 ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.


[INFO] Copying 2 resources


[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ modeldr006 ---

[INFO] Nothing to compile - all classes are up to date

[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ modeldr006 ---

[INFO] Tests are skipped.

[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ modeldr006 ---

[INFO] Packaging webapp

[INFO] Assembling webapp [modeldr006] in [C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006\target\modeldr006-0.0.1-SNAPSHOT]

[INFO] Processing war project

[INFO] Copying webapp resources [C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006\src\main\webapp]

[INFO] Webapp assembled in [8576 msecs]

[INFO] Building war: C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006\target\modeldr006-0.0.1-SNAPSHOT.war

[INFO]
[INFO] --- spring-boot-maven-plugin:1.1.9.RELEASE:repackage (default) @ modeldr006 ---

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

[INFO] Total time: 30.544 s

[INFO] Finished at: 2014-11-26T18:16:04+00:00

[INFO] Final Memory: 44M/391M

[INFO] ------------------------------------------------------------------------


Pushing the application to Cloud Foundry
Using manifest file ./deploy/cloudfoundry/manifest.yml


Creating app modeldr006 in org ModelDrivers / space development as greg.soulsby@ibpartners.co.uk...

OK


Using route modeldr006.cfapps.io
Binding modeldr006.cfapps.io to modeldr006...

OK

Uploading modeldr006...

FAILED
Error uploading application.
GetFileAttributesEx C:\IBP\03_Product\modelDR\03_Product\01_Jhipster\modeldr006\target\*.war: The filename, directory name or volume label syntax is incorrect.

× { [Error: Command failed: ] killed: false, code: 1, signal: null }

0 个答案:

没有答案