我正在尝试从Java https://github.com/javastartpl/javaee-angular运行任何项目-例如jax-rs-jpa项目。
如果我用WIldFly 9-11启动项目,项目启动时没有控制台错误,在MySQL中创建了表格,但是起始页(http://localhost:8080/jaxrs-ejb-jpa/)显示为“404not found”。
WildFly日志:https://www.dropbox.com/s/r4b2e4b56wjuxqo/Log.txt?dl=0
提前感谢您的回答。
发布于 2018-02-27 00:06:50
在日志中查找“已注册的web上下文:”,以找到您需要使用的URL模式。例如,对于:
[org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0021: Registered web context: '/sample' for server 'default-server'
URL将为:
http://localhost:8080/sample
https://stackoverflow.com/questions/48991965
复制相似问题