Я получаю веб-страницу не найдена ошибка после развертывания веб-приложения на сервере - PullRequest
0 голосов
/ 18 декабря 2018

enter image description here Поэтому, когда я развернул свое веб-приложение на сервере, ошибок не было, но браузер не загружал веб-страницу.вот журнал:

 20:23:58,125 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "ProjectFE.war" (runtime-name: "ProjectFE.war")
20:24:01,700 WARN  [org.jboss.as.ee] (MSC service thread 1-8) WFLYEE0007: Not installing optional component org.springframework.http.server.reactive.ServletServerHttpResponse$ResponseAsyncListener due to an exception (enable DEBUG log level to see the cause)
20:24:01,705 WARN  [org.jboss.as.ee] (MSC service thread 1-8) WFLYEE0007: Not installing optional component org.springframework.http.server.reactive.ServletHttpHandlerAdapter$HandlerResultAsyncListener due to an exception (enable DEBUG log level to see the cause)
20:24:01,705 WARN  [org.jboss.as.ee] (MSC service thread 1-8) WFLYEE0007: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to an exception (enable DEBUG log level to see the cause)
20:24:01,716 WARN  [org.jboss.as.ee] (MSC service thread 1-8) WFLYEE0007: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
20:24:01,721 WARN  [org.jboss.as.ee] (MSC service thread 1-8) WFLYEE0007: Not installing optional component org.springframework.http.server.reactive.ServletServerHttpRequest$RequestAsyncListener due to an exception (enable DEBUG log level to see the cause)
20:24:01,738 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
20:24:01,741 WARN  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0013: Deployment ProjectFE.war contains CDI annotations but no bean archive was found (no beans.xml or class with bean defining annotations was present).
20:24:01,768 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0018: Started Driver service with driver-name = ProjectFE.war_org.h2.Driver_1_4
20:24:01,866 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 244) No Spring WebApplicationInitializer types detected on classpath
20:24:01,866 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 244) Initializing Spring root WebApplicationContext
20:24:01,866 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 244) Root WebApplicationContext: initialization started
20:24:03,468 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 244) Root WebApplicationContext initialized in 1602 ms
20:24:03,479 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 244) Initializing Mojarra 2.2.13.SP5  for context '/ProjectFE'
20:24:06,018 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 244) Initializing Spring DispatcherServlet 'appServlet'
20:24:06,018 INFO  [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 244) Initializing Servlet 'appServlet'
20:24:06,466 INFO  [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 244) Completed initialization in 448 ms
20:24:06,466 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 244) WFLYUT0021: Registered web context: '/ProjectFE' for server 'default-server'
20:24:06,531 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "ProjectFE.war" (runtime-name : "ProjectFE.war")

1 Ответ

0 голосов
/ 18 декабря 2018

Правильно ли настроена страница приветствия web.xml?

Пожалуйста, также добавьте свои военные источники (ссылка на GIT или что-то еще) ...

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...