Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9195

Quickstart guide: helloworld is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 11.0.0.Beta1
    • 11.0.0.Beta1
    • Quickstarts
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Medium

      I'm following the quickstart guide and i have downloaded the quickstart-11.x.
      With my wildfly server running i'm launching (from quickstart-11.x/helloworld):

      package wildfly:deploy
      

      as describe in the doc but this fail with the following stack:

      [ERROR] No plugin found for prefix 'wildfly' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\PC\.m2\repository), jboss-enterprise-maven-repository (https://maven.repository.redhat.com/ga/), jboss-enterprise-maven-repository-ea (https://maven.repository.redhat.com/earlyaccess/all/), jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
      

      Adding the following code in pom.xml solve the issue:

      <plugin>
                      <groupId>org.wildfly.plugins</groupId>
                      <artifactId>wildfly-maven-plugin</artifactId>
                      <version>1.1.0.Final</version>
                  </plugin>
      

      Note that the application is then accessible at _http://localhost:8080/helloworld/HelloWorld_ and not _http://localhost:8080/wildfly-helloworld/HelloWorld_ as written in the documentation.

      Note also that these links are not working:

      • Installing and starting the JBoss server on Linux, Unix or Mac OS X
      • Installing and starting the JBoss server on Windows

              tomazcerar Tomaž Cerar (Inactive)
              jdore_jira Julien Dore (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: