会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yvioo
“你从没有相信过谁吧,这就是你孤身一人的原因”
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
31
32
33
34
35
36
37
38
39
···
70
下一页
2021年4月28日
JAVA运行报错 [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
摘要: 执行 String[] rwords = (String[]) list.toArray(); 报错[Ljava.lang.Object; cannot be cast to [Ljava.lang.String;这是强转的时候报错了,改成 String[] words = (String[])(l
阅读全文
posted @ 2021-04-28 16:54 yvioo
阅读(5616)
评论(0)
推荐(1)
2021年4月27日
Mybatis批量插入写法、批量查询写法foreach
摘要: 批量插入 <insert id="insertBatchList"> INSERT INTO tag ( `tag_name`, `tag_weight`, ) VALUES <foreach collection ="list" item="tag" separator =","> (#{tag.
阅读全文
posted @ 2021-04-27 20:54 yvioo
阅读(164)
评论(0)
推荐(0)
2021年4月23日
Xshell连接Ubuntu服务器连接不上 显示拒绝了密码
摘要: 确保下方两个都安装了 sudo apt-get install openssh-server sudo apt-get install ssh 修改 vim /etc/ssh/sshd_config 增加或修改配置 PermitRootLogin yes StrictModes yes 然后保存退出
阅读全文
posted @ 2021-04-23 14:42 yvioo
阅读(369)
评论(0)
推荐(0)
2021年4月22日
IDEA中SpringBoot启动报错Error:(11, 39) java: 找不到符号
摘要: 确保不是依赖没有导入或者编码不对问题后 如果还是不行 可以试试以下方式 解决办法 将图片框中Delegate IDE build 勾选 然后重新启动即可
阅读全文
posted @ 2021-04-22 16:13 yvioo
阅读(1402)
评论(0)
推荐(0)
2021年4月18日
JAVA连接MySQ报错:Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version
摘要: Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.secur
阅读全文
posted @ 2021-04-18 23:08 yvioo
阅读(4126)
评论(0)
推荐(0)
2021年4月16日
JAVA生成文件的md5校验值
摘要: 这里使用了lombok打印日志,也可以不用 import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.securit
阅读全文
posted @ 2021-04-16 10:49 yvioo
阅读(1286)
评论(0)
推荐(0)
2021年4月14日
IDEA启动报错:Error:java: Compilation failed: internal java compiler error
摘要: 检查是否一致
阅读全文
posted @ 2021-04-14 16:01 yvioo
阅读(121)
评论(0)
推荐(0)
2021年4月11日
JAVA读取本地html文件里的html文本
摘要: /** * 读取本地html文件里的html代码 * @param file File file=new File("文件的绝对路径") * @return */ public static String toHtmlString(File file) { // 获取HTML文件流 StringBu
阅读全文
posted @ 2021-04-11 19:48 yvioo
阅读(4885)
评论(0)
推荐(0)
SpringBoot打包实现静态文件、配置文件、jar包分离
摘要: 在pom文件里面添加 <plugins> <!--定义项目的编译环境--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configurati
阅读全文
posted @ 2021-04-11 18:59 yvioo
阅读(5446)
评论(0)
推荐(1)
SpringBoot中Post请求提交富文本数据量过大参数无法获取的问题
摘要: yml增加配置 # 开发环境配置 server: tomcat: max-http-form-post-size: -1
阅读全文
posted @ 2021-04-11 16:52 yvioo
阅读(1504)
评论(0)
推荐(0)
上一页
1
···
31
32
33
34
35
36
37
38
39
···
70
下一页
公告