![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
SoniaChan33
添砖java
展开
-
mysql8项目连接出错-端口为0
MySQL8端口为0今天连接数据库的时候,密码正确,配置也没毛病,但是就是连不上[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Bzkvx0aL-1652164622185)(%28https://gitee.com/teasea33/mactypora/raw/master/mactypora/image-20220510143559524.png#pic_center)]于是去查了查端口show global variables like 'port';显示+原创 2022-05-10 14:38:07 · 1517 阅读 · 0 评论 -
误导包com.sun.org.apache.xpath.internal.operations.String导致的String类标红
在进行字节数组转化为字符串的时候发现代码标红发现是误导入包和java.lang.String引起冲突了import com.sun.org.apache.xpath.internal.operations.String;//4.取出数据: byte[] data = dp.getData(); String s = new String(data,0,dp.getLength());解决办法删除包即可...原创 2021-05-19 11:30:29 · 505 阅读 · 0 评论