Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / JerseyConfig.java
package com.example.cosmos_serversb;

import javax.ws.rs.ApplicationPath;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.stereotype.Component;

@Component
public class JerseyConfig extends ResourceConfig {
    public JerseyConfig() {
        packages("com.example.cosmos_serversb.resources");
    }
}