Reputation: 93
I'm trying to run any project from Java EE course https://github.com/javastartpl/javaee-angular - for example jax-rs-jpa project.
If I start project with WIldFly 9-11, project starts without console errors, tables are being created in MySQL but start page (http://localhost:8080/jaxrs-ejb-jpa/) show as "404 not found".
WildFly log: https://www.dropbox.com/s/r4b2e4b56wjuxqo/Log.txt?dl=0
Thank you in advance for your answers.
Upvotes: 1
Views: 2583
Reputation: 307
Look for 'Registered web context:' in the logs to find the URL pattern you need to use. For example, for:
[org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0021: Registered web context: '/sample' for server 'default-server'
The URL would be:
http://localhost:8080/sample
Upvotes: 2