Github客户端无法提交代码,报错
Authentication failed. You may not have permission to access the repository or......
解决RocketMQ客户端连接提示 maybe your broker machine memory too small 问题
解决办法
修改 runbroker.sh,在里面增加一句话即可:
JAVA_OPT="${JAVA_OPT} -Drocketmq.broker.diskSpaceWarningLevel......
[MySQL] specified key was too long max key length is 767bytes解决方案
Linux服务器上使用的 MySQL 数据库的字符集是 utf8mb4,在导入数据库的时候出现了 [MySQL] specified key was too long max key length i......
IntelliJ IDEA “cannot find declaration to go to”,JPA的@OneToMany不能提示mappedBy对象
IntelliJ IDEA 是一个极为强大的 IDE ,其中包含很多有用的插件。比如一个 JPA 组件,在使用 Hibernate 或 Spring Data JPA 等框架的时候,有很智能的提示。
......
Incorrect string value: '\xF0\x9F\x98\xB3)\xE3...' for column 'content'解决办法
刚才在测试项目,随便复制文章添加的时候,突然报了个错误
org.springframework.orm.jpa.JpaSystemException: could not execute sta......
hibernate-validator 版本不兼容,Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl解决方案
刚才把 SpringBoot 2.0 换成 1.59 版本,报上面的错误
Could not initialize class org.hibernate.validator......
java.io.NotSerializableException 报错原因
java.io.NotSerializableException 原因是没有实体没有 implements Serializable。
解决方案:添加即可。
...
ConstraintViolationException e 无法执行解决方案
在事务中,发现无法捕获 ConstraintViolationException 异常,折腾了很久,最终解决了,怪自己当初异常那部分没好好看。
背景如下 我的需求是,当用户修改资......
Could not determine type for: java.util.List, at table: user, for columns: [org.hibernate.mapping.Column(login_record_list)]
在使用 Spring Data JPA 的时候,使用 @OneToMany @ManyToMany 报错如下
Caused by: org.hibernate.MappingException: C......
Spring Data JPA 报错 could not initialize proxy - no Session 解决方案
在使用 SpringBoot + Spring Data JPA + Spring Security 做权限管理的时候,然后当我把one-many,many-one 这些映射关系加上懒加载的时候运行的......
Mac 下 Redis 命令行下中文乱码
Redis 命令行查看中文不乱码
Redis 在使用命令行操作时,如果查看内容中包含中文,会显示16进制的字符串 “\xe8\xa8\x80\xe6\x9b\x8c”
......
Spring @Value() 无法获取值,只有@Controller可以
在 SpringBoot 的使用中,通常想获取 application.properties 里的值,有三种方法。其中最简便的就是使用注解 @Value().
通过下面这个例......
superfish.js报错Uncaught TypeError: Cannot read property 'sfTimer' of null
在使用 superfish.js 多级菜单插件的时候,下拉菜单一直无法显示。
一直报错 Uncaught TypeError: Cannot read property 'sfTimer' of......
OTS parsing error: incorrect entrySelector for table directory报错解决,font-awesome字体图标无法显示
在使用 SpringBoot 的时候,准备使用 font-awesome 字体图标,但是发现图标显示不出来。
问题原因是 Maven 拦截了font 字体类型文件。
......
mac IntelliJ IDEA Debug 卡死
最近 Debug 经常在运行第二次的时候卡死,然后不得不强行退出。很烦
在网上找到两种解决方案在这里做个笔记。
方法一、
修改host 文件
sudo vim /private/etc/h......