该错误在入门例子中使用mvn clean test时出现该错误。原因:
测试用例应该放在src/test/java/...路径下,我是放在了src/main/java/..路径下了。 因为没有遵守其规则,才出现了该问题。
分类:
其他好文 时间:
2014-07-22 23:00:13
阅读次数:
5348
mvn clean complie mvn clean test mvn clean package
mvn clean install(该任务将该项目输出的jar安装到了Maven本地仓库中) 各个命令是递进执行的,执行test会先
执行complie,执行package会先执行test,依次类推...
分类:
其他好文 时间:
2014-05-06 00:45:11
阅读次数:
425
这道题我一开始想到用递归方法,可以把规模大的问题变成规模小的问题,但是觉得递归的时间复杂度很高,因为它会把相同的问题进行重复计算,然后我想是不是有什么down-up的方法,先把所有的子问题的结果保存起来,但是发现问题的最优解并不能由子问题的最优解推导出来。最后就想到买股票的时候,我们在一个局部极小的...
分类:
其他好文 时间:
2014-05-01 19:24:02
阅读次数:
250
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
刚开始没有思路,但是自己举了几个简单的栗子才看出规律:需要一圈儿一圈儿的变换位置。有两层for循环:外...
分类:
其他好文 时间:
2014-05-01 18:33:34
阅读次数:
359
Given an array of integers, find two numbers
such that they add up to a specific target number.The function twoSum should
return indices of the two nu...
分类:
其他好文 时间:
2014-05-01 08:35:40
阅读次数:
443
Background:
It's fairly common for businesses to want to provide some high availability for their SQL Server databases, and one option is to have two SQL Server databases on separate machines with a SQL Server database mirrored....
分类:
数据库 时间:
2014-04-30 22:11:38
阅读次数:
520
懂放弃,学会放弃,但不要轻言放弃。我们要学会知道:放弃是一种艺术!...
分类:
其他好文 时间:
2014-04-29 13:42:21
阅读次数:
253
javafx maven集成采用javafx-maven-plugin,
主要分为几个目标:
jfx:jar
jfx:web
jfx:native
jfx:fix-classpath
jfx:generate-key-store
jfx:run
但是在
mvn clean jfx:run
时遇到了问题:
[ERROR] [Help 1] http://cwiki.ap...
分类:
编程语言 时间:
2014-04-29 13:22:21
阅读次数:
2406
The blonde Angela has a new whim: internet chats. Of course, as any blonde, she writes her messages using the upper case. You are the moderator of Angela's favorite chat and you're fed up with her upp...
分类:
其他好文 时间:
2014-04-29 13:17:21
阅读次数:
293