摘要:
转载:https://blog.csdn.net/what_do_you_want/article/details/85109028 阅读全文
摘要:
pom文件添加以下代码 <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> <resour 阅读全文
摘要:
报错信息 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 原 阅读全文
摘要:
https://www.cnblogs.com/liuhongfeng/p/4177835.html 阅读全文
摘要:
查看:https://blog.csdn.net/chachapaofan/article/details/88697452 阅读全文
摘要:
属性上添加注解:@JSONField(format="yyyy-MM-dd HH:mm:ss") import com.alibaba.fastjson.annotation.JSONField; /** * 创建时间 */ @JSONField(format="yyyy-MM-dd HH:mm:s 阅读全文
摘要:
方法加上@Transactional 注解,手动数据回滚 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); 遇到的两个问题: 1. org.springframework.transaction.NoTran 阅读全文
摘要:
redis命令参考大全:http://redisdoc.com/index.html 1.上官网下载redis上传到linux并解压 tar zxvf redis-5.0.8.tar.gz 2.进入解压后的目录下进行编译、安装 未安装gcc的先装gcc yum install gcc -c++ 编译 阅读全文
摘要:
一、解决跨域、过虑options请求问题 1.创建过虑类 import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import javax.se 阅读全文
摘要:
1.浏览器随便打开一个网站,F12打开控制台 2.输入请求代码回车 $.ajax({ url:"http://localhost:8080/sys/topHotNews/update",//发送的路径 type:"post",//发送的方式 data:'{"newsId":"5","type":"1 阅读全文