2022年2月15日
摘要: public class Test { public static void main(String[] args) { String s=""; Random random = new Random(); System.out.println(random.nextInt(9)); for (in 阅读全文
posted @ 2022-02-15 11:59 菊_酒 阅读(241) 评论(0) 推荐(0)
摘要: 创建maven项目时子模块有几率会变成灰色无法正常使用 这样导致微服务无法正常使用 解决方案我借鉴了 csdn 博主 Vip_Van_Winkle 的方法 file-setting 取消指定多选框勾选 保存, 就可以解决这个问题 阅读全文
posted @ 2022-02-15 11:19 菊_酒 阅读(228) 评论(0) 推荐(0)
  2022年2月12日
摘要: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis. 阅读全文
posted @ 2022-02-12 10:07 菊_酒 阅读(59) 评论(0) 推荐(0)
  2022年2月11日
摘要: 在服务端中: 添加 JwtUtil 工具类 工具类使用需要的依赖是如下 <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.6.0</version> </dependenc 阅读全文
posted @ 2022-02-11 16:42 菊_酒 阅读(382) 评论(0) 推荐(0)
摘要: @Transactional 注解 @Transactional 是声明式事务管理 编程中使用的注解 添加位置 @Override @Transactional public void upd(Stu stu) { } 接口实现类或接口实现方法上,而不是接口类中访问权限:public 的方法才起作用 阅读全文
posted @ 2022-02-11 14:51 菊_酒 阅读(951) 评论(0) 推荐(0)
摘要: <el-form-item label="时间"> <el-col :span="11"> <el-date-picker v-model="ddd.date" type="date" placeholder="选择日期"> </el-date-picker> </el-col> </el-form 阅读全文
posted @ 2022-02-11 09:19 菊_酒 阅读(615) 评论(0) 推荐(0)
  2022年1月17日
摘要: mongodb 分页参数必须在最后一位 阅读全文
posted @ 2022-01-17 15:28 菊_酒 阅读(24) 评论(0) 推荐(0)
摘要: { "timestamp": "2022-01-17T06:47:15.437+0000", "status": 500, "error": "Internal Server Error", "message": "nested exception is org.apache.ibatis.exce 阅读全文
posted @ 2022-01-17 15:01 菊_酒 阅读(527) 评论(0) 推荐(0)
  2022年1月9日
摘要: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'tid' in where clause is ambiguous 记录报错显示不知道tid是哪个表中的数据 <select id= 阅读全文
posted @ 2022-01-09 15:06 菊_酒 阅读(33) 评论(0) 推荐(0)
  2022年1月7日
该文被密码保护。 阅读全文
posted @ 2022-01-07 20:48 菊_酒 阅读(0) 评论(0) 推荐(0)