investigating on deploying resteasy-spring-boot
to wildfly
.
Created
May 27, 2022 05:29
-
-
Save liweinan/f4e82262b91a360b1ec9be6c0f9f81e2 to your computer and use it in GitHub Desktop.
deploying `resteasy-spring-boot` project into wildfly.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Tomcat component in
spring-webmvc
conflicts with WildFly:Here is the dependency tree with conflicting classes:
The solution is to exclude the Tomcat component:
After above setup, rebuild the sample app and deploy to wildfly the deployment is ok. However accessing the service will throw error:
The problem is that the Spring autowired component is not registered correctly, so it's null during runtime.
The next step I plan to deploy a pure
spring-boot
project into WildFly, to confirm it's aresteasy-spring-boot
problem.