- 博客(3)
- 收藏
- 关注
原创 Could not get JDBC Connection; nested exception is java.sql.SQLException: com.mysql.cj.jdbc.Driver
TypeException ReportMessageCould not get JDBC Connection; nested exception is java.sql.SQLException: com.mysql.cj.jdbc.DriverDescriptionThe server encountered an unexpected condition that prevented it from fulfilling the request.Exceptionorg.sp...
2021-11-13 15:41:20
4041
原创 mysql5.7中文乱码
环境 : 系统 :ubuntu 18.4 mysql:5.7登录MySQL数据库查看字符编码: show variables like '%char%';关闭数据库服务修改文件前停止mysql服务service mysql stop(提示权限不足时使用:sudo service mysql stop) 修改文件在/etc/mysql/mysql.conf.d/mysqld.cnf文件里找到[mysqld]字段,然后添加character_set_ser
2021-09-29 20:39:46
372
原创 关于使用Java实现简单斗地主功能----(文章来源于视频学习)
import java.util.ArrayList;import java.util.Collections;import java.util.HashMap;import java.util.TreeSet;/** * 1.创建HashMap,键是编号,值是牌 * 2.创建ArrayList,存储编号 * 3.创建花色数组和点数数组 * 4.从0开始往HashMap里面存储编号,并存储对应的牌,同时往ArrayList里面存储编号 * 5.洗.
2021-09-03 08:16:31
360
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅