Last active
January 7, 2019 15:18
-
-
Save minikuma/ddca2b513a0b8dd3358359a230e3ad79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SpittrWebAppInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { | |
@Override | |
protected Class<?>[] getRootConfigClasses() { | |
return new Class[] {RootConfig.class}; | |
} | |
@Override | |
protected Class<?>[] getServletConfigClasses() { | |
return new Class[] {WebConfig.class, SwaggerConfig.class}; //설정 클래스를 명시 | |
} | |
@Override | |
protected String[] getServletMappings() { | |
return new String[] {"/"}; //dispatch servlet mapping | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment