上一页 1 2 3 4 5 6 ··· 8 下一页

2018年6月8日

关于java.lang.Exception:No tests found matching的一系列解决方法

摘要: 问题描述: 问题分析与解决: 1、忘记在方法前加 @Test 注解了。 解决:加上就行。 2、IDE或者项目原因。 解决:重启eclipse/myeclipse。或者关闭项目再打开。 3、看你的测试类是否继承TestCase。 解决:删除此继承 4、测试类名字不规范,直接命名为‘Test’ 解决:会 阅读全文

posted @ 2018-06-08 16:45 清风吹斜阳 阅读(1945) 评论(0) 推荐(0) 编辑

2018年6月7日

关于Spring中applicationContext.xml配置错误“org/springframework/transaction/interceptor/TransactionInterceptor”的问题解决

摘要: 问题描述: 在配置spring的applicationContext.xml中的默认事务管理器的时候可能会出现这样的错误: 以下是xml配置: 此段配置意在采用“声明式事务管理”,并使用注解的形式。但是却报错了? 问题分析: 配置全都没错,那应该就是jar包的问题了 然后去官方文档中找,原来少了 a 阅读全文

posted @ 2018-06-07 12:52 清风吹斜阳 阅读(972) 评论(0) 推荐(0) 编辑

2018年5月30日

LeetCode第[98]题(Java):Validate Binary Search Tree(验证二叉搜索树)

摘要: 题目:验证二叉搜索树 难度:Medium 题目内容: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subt 阅读全文

posted @ 2018-05-30 17:00 清风吹斜阳 阅读(2236) 评论(1) 推荐(1) 编辑

LeetCode第[91]题(Java):Decode Ways(解码方法数)

摘要: 题目:解码方法数 难度:Medium 题目内容: A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 2 阅读全文

posted @ 2018-05-30 00:08 清风吹斜阳 阅读(1912) 评论(0) 推荐(0) 编辑

2018年5月29日

LeetCode第[88]题(Java):Merge Sorted Array(合并已排序数组)

摘要: 题目:合并已排序数组 难度:Easy 题目内容: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. 翻译: 给定两个排序的整数数组nums1和nums2,将nums 阅读全文

posted @ 2018-05-29 00:18 清风吹斜阳 阅读(846) 评论(0) 推荐(0) 编辑

2018年5月28日

LeetCode第[84]题(Java):Largest Rectangle in Histogram(最大的矩形柱状图)

摘要: 题目:最大的矩形柱状图 难度:hard 题目内容: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of lar 阅读全文

posted @ 2018-05-28 18:15 清风吹斜阳 阅读(722) 评论(0) 推荐(0) 编辑

2018年5月26日

LeetCode第[79]题(Java):Word Search(矩阵单词搜索)

摘要: 题目:矩阵单词搜索 难度:Medium 题目内容: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially a 阅读全文

posted @ 2018-05-26 00:33 清风吹斜阳 阅读(595) 评论(0) 推荐(0) 编辑

2018年5月23日

LeetCode第[78]题(Java):Subsets(求子集)扩展——第[90]题:Subsets 2

摘要: 题目:矩阵置0 难度:Easy 题目内容: Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain dup 阅读全文

posted @ 2018-05-23 18:09 清风吹斜阳 阅读(1382) 评论(1) 推荐(0) 编辑

2018年5月21日

关于SpringMVC中两种映射器不能共存的解决

摘要: 首先大家都知道SpringMVC有两种映射器: org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping 和 org.springframework.web.servlet.handler.SimpleUrlHandlerMa 阅读全文

posted @ 2018-05-21 12:18 清风吹斜阳 阅读(627) 评论(0) 推荐(0) 编辑

2018年5月20日

LeetCode第[73]题(Java):Set Matrix Zeroes(矩阵置0)

摘要: 题目:矩阵置0 难度:Easy 题目内容: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Given a m x n matrix, if an elemen 阅读全文

posted @ 2018-05-20 23:58 清风吹斜阳 阅读(437) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页

导航