会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
神秘的小岛岛
https://www.tuyrk.cn/
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
6
下一页
2019年6月26日
Spring Boot中如何干掉if else
摘要: Spring Boot中如何干掉if else http://www.ciphermagic.cn/spring boot without if else.html
阅读全文
posted @ 2019-06-26 12:08 神秘的小岛岛
阅读(761)
评论(0)
推荐(0)
2019年1月24日
Error: Unable to access xxx.jar
摘要: 在cmd中运行 出现如下错误: Error: Unable to access xxx.jar 解决方法: 1. 使用绝对路径: 此时依然报错: Error: Unable to access jarfile D:\Program 2. 添加双引号:`java jar "D:\Program Fil
阅读全文
posted @ 2019-01-24 19:20 神秘的小岛岛
阅读(6828)
评论(0)
推荐(0)
2019年1月19日
SpringBoot报错:Failed to load ApplicationContext(javax.websocket.server.ServerContainer not available)
摘要: 引起条件: WebSocket+单元测试,单元测试报错! 解决方法: SpringBootTest增加webEnvironment参数。 "https://docs.spring.io/spring boot/docs/current/reference/html/boot features tes
阅读全文
posted @ 2019-01-19 17:26 神秘的小岛岛
阅读(2494)
评论(0)
推荐(0)
2019年1月11日
微信公众平台测试号 “微信登录失败,redirect_uri域名与后台配置不一致,错误代码10003”
摘要: 1. 设置"网页授权获取用户基本信息" 点击"修改" 弹出"OAuth2.0网页授权",注意域名不加"https://"或"http://" 2. 请求链接: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxe6a4566e54
阅读全文
posted @ 2019-01-11 17:07 神秘的小岛岛
阅读(9028)
评论(0)
推荐(0)
2019年1月9日
SpringBoot报错:Table 'database_name.hibernate_sequence' doesn't exist
摘要: 引起条件: SpringBoot+JPA插入包含自增字段的对象 解决方法: 给注解添加属性
阅读全文
posted @ 2019-01-09 15:50 神秘的小岛岛
阅读(789)
评论(0)
推荐(0)
SpringBoot报错:Failed to load ApplicationContext( Failed to bind properties under 'logging.level')
摘要: 引起条件: SpringBoot2.0下yml文件配置SLF4j日志输出日志级别 解决方法: 1. 指定系统包路径 2. 指定自己的包目录 相关资料: https://docs.spring.io/spring boot/docs/2.1.1.RELEASE/reference/htmlsingle
阅读全文
posted @ 2019-01-09 13:31 神秘的小岛岛
阅读(3477)
评论(0)
推荐(0)
2019年1月8日
SpringBoot报错:nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.tuyrk.test.User matching [java.lang.Long, java.lang.String, java.lang.String]
摘要: 错误提示: 这里就有点坑了,明明提示的是没有三个参数的构造函数,然而我添加上三个参数的构造函数还是报错 解决方法: 添加一个无参构造函数(可以不添加三个参数的构造函数)。 在这里可以理解成使用Mybatis查询一个实例时,这个抽象实体类必须有一个无参构造方法 注: 默认情况下,每一个实体类都有一个无
阅读全文
posted @ 2019-01-08 16:36 神秘的小岛岛
阅读(8386)
评论(0)
推荐(2)
SpringBoot报错:Invalid bound statement (not found)
摘要: 错误原因: 没有发现Mybatis配置文件的路径 解决方法: 1. 检查Mapper包名与xml文件标签的namespace数据名称是否相同 `` 2. Mapper中定义的方法未在xml文件中配置 3. Mapper中方法返回值是List ,而select元素没有正确配置resultMap标签,或
阅读全文
posted @ 2019-01-08 16:10 神秘的小岛岛
阅读(5796)
评论(0)
推荐(0)
SpringBoot报错:Failed to load ApplicationContext(Mapped Statements collection already contains value)
摘要: 错误提示: 错误原因: 在Mybatis的配置文件中,配置了重名的方法 。 解决方法: 将方法名称改成其他名称。Mybatis配置文件不能重名。
阅读全文
posted @ 2019-01-08 15:50 神秘的小岛岛
阅读(2086)
评论(0)
推荐(0)
SpringBoot报错:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone
摘要: 解决方法: 在数据库连接url配置后边加 例: 改为
阅读全文
posted @ 2019-01-08 15:40 神秘的小岛岛
阅读(407)
评论(0)
推荐(0)
1
2
3
4
5
6
下一页
公告