-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
访问/swagger-ui.html的时候会报 404 应该是静态资源访问的问题
配置swagger的时候重新设置下静态资源路径可以解决
但是不知道在project中哪里修改了静态资源访问路径
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry)
{
registry.addResourceHandler("/**")
.addResourceLocations("classpath:/META-INF/resources/")
.setCachePeriod(0);
}
期待在此project中直接整合swagger2
Metadata
Metadata
Assignees
Labels
No labels