diff --git a/src/main/java/pluginExperiment/JerseyConfig.java b/src/main/java/pluginExperiment/JerseyConfig.java new file mode 100644 index 0000000..f2f6fce --- /dev/null +++ b/src/main/java/pluginExperiment/JerseyConfig.java @@ -0,0 +1,13 @@ +package pluginExperiment; + +import org.glassfish.jersey.server.ResourceConfig; +import org.springframework.stereotype.Component; + +@Component +public class JerseyConfig extends ResourceConfig { + + public JerseyConfig() { + //packages("com.example.JerseyTest"); + packages( JerseyConfig.class.getPackage().getName()+".resources"); + } +} \ No newline at end of file