#maven #spring-mvc #jpa #wildfly #java-11
Вопрос:
Мы обновили все пакеты javax.* до jakarta.* пакеты. Обновлено с jdk8 до jdk 11, с весны 3 по весну 5.
Вот код, связанный с конфигурацией:
persistence.xml
pom.xml
servlet-context.xml
web.xml
Здесь мы используем два источника данных — конфигурацию и сопоставление.
В standalone.xml от Уайлдфлай.
Интерфейс mf-gw-интеграции.война развернута успешно. Когда мы пытаемся попасть по URL — адресу- http://localhost:8080/mf-gw-integration-ui, страница login.jsp должна быть отображена, этого не происходит, и журналов ошибок также нет.
2021-10-04 22:30:16,534 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 99) HHH000204: Processing PersistenceUnitInfo [
name: mappingJpaPersistenceUnit
...]
2021-10-04 22:30:16,541 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 99) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
2021-10-04 22:30:16,548 INFO [org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl] (ServerService Thread Pool -- 99) HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2021-10-04 22:30:16,548 INFO [org.hibernate.type.BasicTypeRegistry] (ServerService Thread Pool -- 99) HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@7ed143f1
2021-10-04 22:30:16,550 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 99) Envers integration enabled? : true
2021-10-04 22:30:16,556 INFO [org.hibernate.orm.beans] (ServerService Thread Pool -- 99) HHH10005002: No explicit CDI BeanManager reference was passed to Hibernate, but CDI is available on the Hibernate ClassLoader.
2021-10-04 22:30:17,645 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 99) WFLYUT0021: Registered web context: '/mf-gw-integration-ui' for server 'default-server'
2021-10-04 22:30:17,732 INFO [org.jboss.as.server] (ServerService Thread Pool -- 44) WFLYSRV0010: Deployed "mf-gw-integration-ui.war" (runtime-name : "mf-gw-integration-ui.war")
2021-10-04 22:30:17,769 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2021-10-04 22:30:17,771 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 24.0.1.Final (WildFly Core 16.0.1.Final) started in 14083ms - Started 869 of 1053 services (351 services are lazy, passive or on-demand)
2021-10-04 22:30:17,774 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
2021-10-04 22:30:17,774 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990