会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
L12345
博客园
首页
新随笔
联系
管理
订阅
2022年6月1日
使用autohotkey ahk 定义的热字符串和热键键在vscode中不生效
摘要: 转载:https://blog.csdn.net/what_do_you_want/article/details/85109028
阅读全文
posted @ 2022-06-01 11:35 L12345
阅读(113)
评论(0)
推荐(0)
2022年3月28日
Spring 编译不扫描mapper.xml问题
摘要: pom文件添加以下代码 <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> <resour
阅读全文
posted @ 2022-03-28 22:22 L12345
阅读(110)
评论(0)
推荐(0)
2020年4月17日
linux tomcat 启动报错 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program
摘要: 报错信息 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program 原
阅读全文
posted @ 2020-04-17 19:39 L12345
阅读(759)
评论(0)
推荐(0)
2020年4月1日
window 下配置tomcat 环境
摘要: https://www.cnblogs.com/liuhongfeng/p/4177835.html
阅读全文
posted @ 2020-04-01 23:38 L12345
阅读(124)
评论(0)
推荐(0)
2020年3月31日
idea springboot实现热部署
摘要: 查看:https://blog.csdn.net/chachapaofan/article/details/88697452
阅读全文
posted @ 2020-03-31 10:00 L12345
阅读(137)
评论(0)
推荐(0)
2020年3月26日
Spring mybatis 中Date类型 在返回给前端时需要格式化的实现方式
摘要: 属性上添加注解:@JSONField(format="yyyy-MM-dd HH:mm:ss") import com.alibaba.fastjson.annotation.JSONField; /** * 创建时间 */ @JSONField(format="yyyy-MM-dd HH:mm:s
阅读全文
posted @ 2020-03-26 13:37 L12345
阅读(1067)
评论(0)
推荐(0)
@Transactional 手动数据回滚 No transaction aspect-managed TransactionStatus in scope ; Transaction rolled back because it has been marked as rollback-only
摘要: 方法加上@Transactional 注解,手动数据回滚 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); 遇到的两个问题: 1. org.springframework.transaction.NoTran
阅读全文
posted @ 2020-03-26 11:29 L12345
阅读(5817)
评论(1)
推荐(3)
2020年3月25日
linux redis安装
摘要: redis命令参考大全:http://redisdoc.com/index.html 1.上官网下载redis上传到linux并解压 tar zxvf redis-5.0.8.tar.gz 2.进入解压后的目录下进行编译、安装 未安装gcc的先装gcc yum install gcc -c++ 编译
阅读全文
posted @ 2020-03-25 21:46 L12345
阅读(195)
评论(0)
推荐(0)
2020年3月24日
springboot shiro 前后端分离,解决跨域、过虑options请求、shiro管理session问题、模拟跨域请求
摘要: 一、解决跨域、过虑options请求问题 1.创建过虑类 import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import javax.se
阅读全文
posted @ 2020-03-24 23:56 L12345
阅读(3214)
评论(0)
推荐(0)
本地项目模拟跨域请求
摘要: 1.浏览器随便打开一个网站,F12打开控制台 2.输入请求代码回车 $.ajax({ url:"http://localhost:8080/sys/topHotNews/update",//发送的路径 type:"post",//发送的方式 data:'{"newsId":"5","type":"1
阅读全文
posted @ 2020-03-24 01:31 L12345
阅读(5526)
评论(0)
推荐(1)
下一页
公告