Skip to content

Commit

Permalink
WFLY-19950 The Spring Resteasy quickstart logs a warnings on the Open…
Browse files Browse the repository at this point in the history
…Shift
  • Loading branch information
liweinan authored and emmartins committed Dec 20, 2024
1 parent 75d24ed commit 93a3fea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
<deployment>
<!-- Spring does not support CDI and therefore CDI required subsystem and dependencies must be excluded -->
<exclude-subsystems>
<subsystem name="jsf"/>
<subsystem name="microprofile-opentracing-smallrye"/>
<subsystem name="weld"/>
</exclude-subsystems>
<exclusions>
<module name="org.jboss.resteasy.resteasy-cdi"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
5 changes: 5 additions & 0 deletions spring-resteasy/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

<display-name>Archetype Created Web Application</display-name>

<context-param>
<param-name>resteasy.preferJacksonOverJsonB</param-name>
<param-value>true</param-value>
</context-param>

<listener>
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>
Expand Down

0 comments on commit 93a3fea

Please sign in to comment.