我有一个spring boot应用程序,我想使用springfox为我的API生成详尽的文档。按下http://localhost:9090/swagger-ui.html
时出现404未定义错误请在下面找到堆栈跟踪:
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /swagger-resources/configuration/ui, Query String - null, HTTP Method - GET
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /swagger-resources/configuration/ui, Response Status - 200
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /swagger-resources/configuration/security, Query String - null, HTTP Method - GET
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /swagger-resources/configuration/security, Response Status - 200
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /swagger-resources, Query String - null, HTTP Method - GET
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /swagger-resources, Response Status - 200
com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /error, Query String - null, HTTP Method - GET com.etc.common.services.interceptor.CommonServicesRequestInterceptor - Request URL - /error, Response Status - 404
请找到相同的屏幕截图: swagger-ui.html error page