首页 文章

如何通过wildfly-maven-plugin运行WildFly服务器服务?

提问于
浏览
0

我尝试使用wildfly-maven-plugin来构建示例服务 . 源代码是:

https://github.com/wildfly/quickstart/tree/10.x/helloworld-html5

我想在maven pom.xml中简单地使用wildfly-maven-plugin:

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

要像命令一样构建测试服务器:

mvn wildfly:run

运行服务器 .

我可以找到README.md,但写的url似乎有误 .

我测试链接:

http://localhost:8080/jboss-helloworld-html5/hello/json/YOUR_NAME

http://localhost:8080/hello/json/YOUR_NAME

所有给我404错误 .

有什么不对吗?

如何制作mvn wildfly:运行可以运行这个项目吗?

1 回答

相关问题