摘要: 错误描述: java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException 解决方案: 1. 在正确路径下建立lib包。路径为:WEB-INF目录下的lib目录,目录名不能写成别的,加个s都不行。 2. 导入完整 阅读全文
posted @ 2021-02-07 13:02 小胡0602 阅读(755) 评论(0) 推荐(0) 编辑
摘要: package ahaAlgorithm.chapter1; import java.util.Scanner; /** * * @Title: BubbleSort1.java * @Package ahaAlgorithm.chapter1 * @Description: TODO(类在排序中的 阅读全文
posted @ 2020-07-29 11:37 小胡0602 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 转载 原文链接:https://blog.csdn.net/weixin_38883338/java/article/details/89195749 Java8在 lambda 表达式中使用局部变量会提示:Local variable flag defined in an enclosing sc 阅读全文
posted @ 2020-05-15 16:28 小胡0602 阅读(5018) 评论(0) 推荐(0) 编辑
摘要: 代码: 1 public ListNode addTwoNumbers(ListNode l1, ListNode l2) { 2 ListNode result=new ListNode(0); 3 ListNode a=result; 4 int fruit=0; 5 while (l1!=nu 阅读全文
posted @ 2020-05-13 10:24 小胡0602 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 代码 : 1 public int[] twoSum(int[] nums, int target) { 2 int[] a=new int[2]; 3 for(int i=0;i<nums.length;i++){ 4 for (int j=i+1;j<nums.length;j++){ 5 if 阅读全文
posted @ 2020-05-09 19:35 小胡0602 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 转载 原链接 https://www.jianshu.com/p/0ba8c77c27bb 仅供个人使用 防止丢失,如有侵权 速联 秒删 在windows下将redis注册为本地服务的两种(多种)方法 简介 简单的通过控制台启动redis server非常简单,但是同时也带来一个问题,如果控制台关闭 阅读全文
posted @ 2020-04-02 22:45 小胡0602 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: 转载 为防止消失 如有侵权请联系 原链接 https://www.dazhuanlan.com/2019/11/30/5de14b06398b8/ 当我们在一个 private 方法上打上 @Transactional 注解,IDEA 会提示 Methods annotated with '@Tra 阅读全文
posted @ 2020-04-01 22:40 小胡0602 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.hbue.dao.SysDeptMapper.int at org.apache.ibatis.builder.MapperBuil 阅读全文
posted @ 2020-03-18 23:34 小胡0602 阅读(712) 评论(0) 推荐(0) 编辑
摘要: E:\apache-tomcat-8.0.36\bin\catalina.bat run [2020-03-17 12:25:31,974] Artifact permission:war exploded: Waiting for server connection to start artifa 阅读全文
posted @ 2020-03-17 00:32 小胡0602 阅读(559) 评论(0) 推荐(0) 编辑
摘要: package com.hbue.demo2; import com.hbue.demo2.model.Permission; import com.hbue.demo2.model.Role; import com.hbue.demo2.model.User; import com.hbue.de 阅读全文
posted @ 2020-03-14 18:23 小胡0602 阅读(2464) 评论(0) 推荐(0) 编辑