diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-03-03 11:38:39 +0000 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-03-03 14:34:04 +0000 |
commit | 584dfd7712be7c238ef86c8ea4d009a61b33c75c (patch) | |
tree | 1229ad848b21af14057393b4aece114f9e416616 /asdctool/src/main/java/org | |
parent | 3dcbae860f1a4bc8e6596cddc9cb19611d0c3dc7 (diff) |
Update vulnerable dependencies
Change-Id: Id1098d2e0aceb3fb507e32994925d36f23ad8517
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3895
Diffstat (limited to 'asdctool/src/main/java/org')
-rw-r--r-- | asdctool/src/main/java/org/openecomp/sdc/asdctool/App.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/App.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/App.java index db541a810c..2f7aa0a213 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/App.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/App.java @@ -22,6 +22,7 @@ package org.openecomp.sdc.asdctool; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; +import org.glassfish.jersey.servlet.ServletContainer; /** * Hello world! @@ -34,7 +35,7 @@ public class App { context.setContextPath("/asdctool"); Server jettyServer = new Server(Integer.valueOf(asdcToolPort)); jettyServer.setHandler(context); - ServletHolder jerseyServlet = context.addServlet(org.glassfish.jersey.servlet.ServletContainer.class, "/*"); + ServletHolder jerseyServlet = context.addServlet(ServletContainer.class.getName(), "/*"); jerseyServlet.setInitOrder(0); // Tells the Jersey Servlet which REST service/class to load. @@ -59,4 +60,3 @@ public class App { } } } - |