-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build war package #416
Comments
Can you tell which version of JHipster you are using? |
Hi, I'm using jhipster v0.12.0 and this is my .yo-rc.json{ } |
Hi, I'm using jhipster v0.12.0 and this is my .yo-rc.json Gianluca Stefanelli 2014-07-03 17:35 GMT+02:00 Julien Dubois notifications@github.com:
|
Ok just solved, but is a workaround.... This arguments avoid to exit from maven process build, but I don't believe that is the right way. |
You just need to add in the package.json the two following dependencies "lodash": "2.4.1", |
I'm getting a similar error when I run "mvn -Pprod package". I've upgraded to 18.1 (which has lodash/zeparser in package.json) and the error still occurs: ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt) on project dohub: Error during : bower install --no-color: Process exited with an error: 1 (Exit value: 1) -> [Help 1] |
I also got this error when execute jhipster version:
build environment
.yo-rc.json
package.json
Error message:
|
@jdubois, do you have any idea? |
This looks related to Atmosphere, which makes the phantom.js tests fail. Could you try without Atomsphere? |
It still got the same error without Atomsphere. I have tested on two different machines, both got this error. .yo-rc.json
Error message:
|
And can you run "grunt test" separately? It's because it fails that the Maven build fails |
log of
|
So this is in fact your "grunt test" which is not working, because of the "x-ua-compatible" property -> can you grep in your code to find out what it might be? |
log of
|
The problem was caused by
|
I have the same issue, only when I run maven build on Linux without UX. Using windows it works. |
Yes you need a UX for phantom.js, otherwise it can't render anything. I guess you also need it for image minification, or it won't have the necessary libraries. |
@jdubois Thank's i will try with a UX. |
hi guys, Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.4:build (run-grunt) on project cabinet-medical: Error during : node --version: Cannot run program "node" (in directory "/Users/retina/Dropbox/QEMWEB/WORK/PROJETS/LOGICIELS/hispter/cabinet_hipster_generate"): error=2, No such file or directory -> [Help 1] |
Your problem is very different: node executable has not been found in your path. |
I have the same error "failed to execute goal com.github.trecloux:yeoman-maven-plugin" when beginning with jhipster. |
@maodo don't use an old closed issue if you want to get some help and also provide log file. |
Where can I find instructions for installing "UX for phantom.js" ?. Thanks! |
This is a question for stackoverflow, please don't use issues. |
why are you commenting on such an old issue? |
Until now I didn't need to use my project in production mode, so I never tried this option before. Somebody talked about "UX for Phanthon.js" here, so I thought it may be useful to have a reference to this step here. I'm sorry if I was wrong. |
ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.4:build (run-grunt) on project step: Error during : bower install --no-color: Process exited with an error: 1 (Exit value: 1) -> [Help 1] |
Please don't revive old issues. If you have an error take a look at your guidelines and open a new issue. |
When I execute the command "mvn -Pprod package", I got this error during grunt test --no-color.
Maybe something wrong with my node configuration ?
[ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build
(run-grunt) on project jhipster: Error during : cmd /c grunt test --no-color: P
rocess exited with an error: 3 (Exit value: 3) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal c
om.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt) on project jhipster
: Error during : cmd /c grunt test --no-color
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during : cmd /c
grunt test --no-color
at com.github.trecloux.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:
104)
at com.github.trecloux.yeoman.YeomanMojo.logAndExecuteCommand(YeomanMojo
.java:85)
at com.github.trecloux.yeoman.YeomanMojo.grunt(YeomanMojo.java:73)
at com.github.trecloux.yeoman.YeomanMojo.execute(YeomanMojo.java:56)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an erro
r: 3 (Exit value: 3)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecut
or.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:
160)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:
147)
at com.github.trecloux.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:
102)
... 24 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
The text was updated successfully, but these errors were encountered: