会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
面向帅哥编程
热爱可抵岁月漫长.
博客园
首页
新随笔
联系
订阅
管理
2020年9月22日
eclipse导入maven项目报错
摘要: 代码没有错误,但导入eclipse后疯狂报错 原因:没有配置maven依赖 解决方案:点击项目->window->preferences->maven->User settings 等待maven依赖下载完成即可
阅读全文
posted @ 2020-09-22 17:21 面向帅哥编程
阅读(593)
评论(0)
推荐(0)
2020年9月14日
Field service in com.sinoyd.base.controller.BaseController required a single bean, but 20 were found
摘要: 参考博文 Mapper接口应添加@Mapper注解 service类应该添加@Service注解
阅读全文
posted @ 2020-09-14 16:25 面向帅哥编程
阅读(1438)
评论(0)
推荐(0)
2020年9月10日
Swagger显示入参不全问题
摘要: 参考博客 解决办法: 对于swagger上不展示的字段,在实体类中手动添加getter和setter方法即可
阅读全文
posted @ 2020-09-10 11:06 面向帅哥编程
阅读(1291)
评论(1)
推荐(0)
2020年8月26日
thymeleaf依赖
摘要: 1 <dependency> 2 <groupId>org.thymeleaf</groupId> 3 <artifactId>thymeleaf-spring5</artifactId> 4 </dependency> 5 <dependency> 6 <groupId>org.thymeleaf
阅读全文
posted @ 2020-08-26 11:08 面向帅哥编程
阅读(763)
评论(0)
推荐(0)
2020年8月25日
spring boot页面报错-Whitelabel Error Page
摘要: 参考博客:https://blog.csdn.net/Leo_libin/article/details/84101663 访问controller地址时,显示错误页面,报错如下: 1 Whitelabel Error Page 2 This application has no explicit
阅读全文
posted @ 2020-08-25 16:14 面向帅哥编程
阅读(1090)
评论(0)
推荐(0)
2020年8月10日
Ambiguous mapping. Cannot map 'xxxController' method
摘要: @GetMapping public JsonResp<List<DtoLandRegion>> getLandRegionList() { List<DtoLandRegion> regions = service.getLandRegionList(); return JsonResp.newS
阅读全文
posted @ 2020-08-10 14:22 面向帅哥编程
阅读(1072)
评论(0)
推荐(0)
2020年8月7日
mapper.xml文件中传入list参数报错 ‘ ’附近有语法错误
摘要: mapper.xml文件中传入list参数,使用foreach循环遍历值,但是在遍历的过程中出错了,具体代码如下所示 mapper.xml 1 <select id="selectByCondition2" resultType="java.util.Map"> 2 select id,name f
阅读全文
posted @ 2020-08-07 14:58 面向帅哥编程
阅读(884)
评论(0)
推荐(0)
2020年8月5日
spring boot-controller中的一个方法获取其他方法返回的值
摘要: @RequestMapping("/test") public String getData() { return "redirect:/other";} redirect表示重定向,return到其他方法。
阅读全文
posted @ 2020-08-05 09:05 面向帅哥编程
阅读(380)
评论(0)
推荐(0)
公告