我尝试使用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:run可以运行这个项目?
https://stackoverflow.com/questions/38520553
复制相似问题