Newer
Older
JerseyExercise / src / main / java / com / example / jerseyexercise / JerseyConfig.java
package com.example.jerseyexercise;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.stereotype.Component;

@Component
public class JerseyConfig extends ResourceConfig {

    public JerseyConfig() {
        packages("com.example.jerseyexercise.resources");
    }
}