From 584dfd7712be7c238ef86c8ea4d009a61b33c75c Mon Sep 17 00:00:00 2001 From: vasraz Date: Thu, 3 Mar 2022 11:38:39 +0000 Subject: Update vulnerable dependencies Change-Id: Id1098d2e0aceb3fb507e32994925d36f23ad8517 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3895 --- asdctool/src/main/java/org/openecomp/sdc/asdctool/App.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asdctool/src/main/java/org') 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 { } } } - -- cgit 1.2.3-korg