Fixing web.xml

This commit is contained in:
Luca Frosini 2024-05-28 18:01:44 +02:00
parent faafc67be6
commit 1a1ed04c27
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<display-name>${project.name}</display-name> <display-name>${project.name}</display-name>
<description>${project.description}</description> <description>${project.description}</description>
<servlet> <servlet>
<servlet-name>${project.artifactId}</servlet-name> <servlet-name>service</servlet-name>
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class> <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
<init-param> <init-param>
<param-name>jersey.config.server.provider.packages</param-name> <param-name>jersey.config.server.provider.packages</param-name>
@ -22,7 +22,7 @@
<url-pattern>/api-docs/*</url-pattern> <url-pattern>/api-docs/*</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet-mapping> <servlet-mapping>
<servlet-name>${project.artifactId}</servlet-name> <servlet-name>service</servlet-name>
<url-pattern>/*</url-pattern> <url-pattern>/*</url-pattern>
</servlet-mapping> </servlet-mapping>
</web-app> </web-app>