fix Hop Server
package org.apache.hop.www;
+import com.sun.jersey.spi.container.servlet.ServletContainer;
import org.apache.hop.core.Const;
import org.apache.hop.core.HopEnvironment;
import org.apache.hop.core.encryption.Encr;
@@ -233,7 +234,7 @@ public class WebServer {
}
// setup jersey (REST)
- ServletHolder jerseyServletHolder = new ServletHolder();
+ ServletHolder jerseyServletHolder = new ServletHolder(ServletContainer.class);
jerseyServletHolder.setInitParameter(
"com.sun.jersey.config.property.resourceConfigClass",
"com.sun.jersey.api.core.PackagesResourceConfig");
