- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 Java关键字——instanceof
Java关键字——instanceof目录1、obj 必须为引用类型,不能是基本类型2、obj 为 null3、obj 为 class 类的实例对象4、obj 为 class 接口的实现类5、obj 为 class 类的直接或间接子类6、问题7、深究原理8、instanceof 的实现策略instanceof 严格来说是Java中的一个双目运算符,用来测试一个对象是否为一个类的实例,用法为:1boolean result = obj instanceof Class 其中 obj
2020-12-29 09:53:41 74
转载 CentOS 7 上安装vim 解決 centos -bash: vim: command not found
用CentOS上使用vim竟然用不了,报错没有该命令转载自https://www.cnblogs.com/renyuanwei/p/9578705.html centos -bash: vim: command not found那么如何安裝 vim 呢?输入 rpm -qa|grep vim 命令,如果 vim 已经正确安裝,会返回下面的三行代码:root@server1 [~]...
2020-04-12 21:12:55 178
转载 [Linux] VirtualBox - 主机与虚拟机互通 - CentOS
转载自[https://www.cnblogs.com/HD/p/4011323.html]使用VirtualBox的主机与虚拟机相互通信方法:(使用VirtualBox不要使用绿色版的,因为绿色版的没有安装虚拟网卡驱动,所以主机与虚拟机是不能相互通信的,切记)1、设置已经安装好的操作系统对应的“设置”2、选择:网络,将网卡1设置为:桥接网卡,如图:3、设置网卡2为:网络地址转换(N...
2020-04-11 16:31:12 382
原创 关于springboot删除功能的问题
首先关于bootstrap的css开始可能有的人会出现按钮样式不对,或者css样式被拦截等只需要在本身的href后添加th:href的thymeleaf模板语句加css样式就行了,注意要改成自己用pom文件导入的版本,通常是Webjars网站导入的maven格式的包,文件名也是以webjars开头的改好后的样式关于delete的问题1.无法点击按钮进行跳转点击按钮没用,点击按钮不跳...
2020-04-10 01:16:38 1372
原创 java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) at com.mysql.
java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES)at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)错误原因:1,驱动配置有误:driver=com.mysql.jdbc.Driver2,数据...
2020-02-19 00:05:47 409
原创 Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or updat
完整错误:Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (ssh_crm.#sql-138c_a, CONSTRAINT FKo6oqtbbjmu689...
2020-02-18 21:31:54 612
原创 Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: cn.itcast.entity.C
1.异常描述Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: cn.itcast.entity.Customer column: custLevel (should be mapped with insert=“false” update=“false”)2.实体类和映射文件的对...
2020-02-18 21:04:14 709 1
ssh_crm1.rar
2020-03-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人