当工作目录修改删除过时更新使用svn更新就容易发生树冲突“Tree Confilict”.会出现类似提示. local unversioned, incoming add upon update 如果使用图形化客户端可以通过对比文件和解决冲突按钮进行解决,如果是使用命令行的,情况类似如下:(其中 removed_directory 是你工作的某个目录) $svn status D C removed_directory > local unversioned, incoming ad
一大早的,某从库突然报出故障:SQL线程中断! 查看从库状态: mysql> show slave status\G Slave_IO_State: Waiting for master to send event Master_Log_File: mysql Read_Master_Log_Pos: Relay_Log_File: relay Relay_Log_Pos: Relay_Master_Log_File: mysql Slave_IO_Running: Yes Slave_SQL_
当update的时候遇到如下问题 svn status D C ~/workspace/test/a.c > local unversioned, incoming add upon update Summary of conflicts: Tree conflicts: 用如下的解决办法 ① svn resolve --accept working ~/workspace/test/a.c Resolved conflicted state of '~/workspace/test/a.c'
HTTP Status 500 - Request processing failed; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement type Exception report message Request processing failed; nested exception is org.hibernate.exception.Co
MySQL数据库,当我尝试在A表中设置B表的主键为外键时,报出错误:#1452 - Cannot add or update a child row: a foreign key constraint fails 于是去搜索了一下 "#1452 - Cannot add or update a child row: a foreign key constraint fails" 的含义与解决方法,根据这篇博文去排查了报错原因,排除了可能1和可能2,然后去研究可能3的具体含义,一开始并
Spring AOP获取不了增强类(额外方法)和无法通过getBean()获取对象 今天在学习AOP发现一个小问题 Spring AOP获取不了额外方法,左思右想发现是接口上出了问题 先上代码 获取不了增强类 UserService接口 public interface UserService { public void register(User user); public Boolean login(String name, String password); } 接口实现UserServi
[从零开始学习Spirng Boot-常见异常汇总] 在之前的文章已经讲过spring boot集成mybatis了,但是忘记说一个很重要的知识点了,那就是获取获取主键id,这篇文章补充下,spring boot集成mybatis看之前文章: (). Spring Boot MyBatis连接Mysql数据库[从零开始学Spring Boot] 其实这个也很简单,主要是使用@Options注解,核心代码如下: @Insert("insert into Demo(name,password) va