首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何通过wildfly-maven-plugin在WildFly服务器上运行服务?

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

Stack Overflow用户
提问于 2016-07-22 15:25:58
回答 0查看 249关注 0票数 0

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

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

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

代码语言:javascript
运行
复制
         <plugin>
            <groupId>org.wildfly.plugins</groupId>
            <artifactId>wildfly-maven-plugin</artifactId>
            <version>1.1.0.Alpha10</version>
        </plugin>

要构建测试服务器,请执行以下命令:

代码语言:javascript
运行
复制
 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:run可以运行这个项目?

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38520553

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档