-
Notifications
You must be signed in to change notification settings - Fork 17
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
"wildfly does not exist" when run "mvn -X wildfly:deploy" #1
Comments
I have just run it and it seems ok. [INFO] Processing war project |
Thanks Nicolas, I generated war file javaee7_wildfly_inheritance.war javaee7_wildfly_inheritance.war Deployment is enabled Details
What is the URL application, or what previous steps are required thanks in advance |
I think it is http://localhost:8080/javaee7_wildfly_inheritance |
The response is Error 404: Please, do you have any tips to display the example of application "javaee7_wildfly_inheritance"? |
the console output says it is mapped on /application try If login does not work, try to add this dependency in your pom <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-engine</artifactId>
<version>5.5.0.Final</version>
<scope>compile</scope>
</dependency> then undeploy:
then redeploy
|
Thanks Nicolas, I want to share you my server configuration ( installation ) and log , war files on Windows 10 - 64 bits to download Please can you review my configuration? Thanks in advance |
I have problems to generate war,
using command line: mvn -X wildfly:deploy
"wildfly does not exist" when run "mvn -X wildfly:deploy"
LOG:
.........
[INFO] Processing war project
[INFO] Copying webapp webResources [C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src/main/config/wildfly] to [C:\spring_wks_wildfly\javaee7_wildfly_inheritance\target\javaee7_wildfly_inheritance]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.952 s
[INFO] Finished at: 2016-06-06T01:32:03-05:00
[INFO] Final Memory: 17M/159M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.5:war (default-war) on project javaee7_wildfly_inheritance: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.5:war failed: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: ## Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.5:war (default-war) on project javaee7_wildfly_inheritance: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.5:war failed: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)
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.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.5:war failed: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 24 more
Caused by: java.lang.IllegalStateException: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:308)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.getFilesToCopy(WarProjectPackagingTask.java:351)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.copyResources(WarProjectPackagingTask.java:299)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.handleWebResources(WarProjectPackagingTask.java:132)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.performPackaging(WarProjectPackagingTask.java:83)
at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:483)
at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:411)
at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:213)
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:176)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 25 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
END LOG.
I reviewed settings.xml from mavenpath/conf/settings.xml
pluginGroups is empty:
I Add 1 line "wildfly":
org.wildfly.plugins ##But I got the same result,
Please help me or fix pom.xml
thanks in advance.
The text was updated successfully, but these errors were encountered: