学习写代码呀

导航

2020年4月24日 #

springboot+swagger-ui

摘要: pom文件: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apach 阅读全文

posted @ 2020-04-24 11:56 学习写代码呀 阅读(251) 评论(0) 推荐(0) 编辑

Spring MVC报错500: Circular view path [xxx]: would dispatch back to the current handler URL

摘要: 一般是映射处理这个url请求的控制器 方法返回值问题 比如没有跳转页面,没有返回对象(即void)则报错 控制器处理方法跳转到映射的请求反复也会如此 返回值类型为void, 方法体也没有跳转页面的话,则会报这个错误。 如果把返回值类型改为String(并不配置视图解析器映射), 对应的是返回404而 阅读全文

posted @ 2020-04-24 10:24 学习写代码呀 阅读(1565) 评论(0) 推荐(0) 编辑