该错误在入门例子中使用mvn clean test时出现该错误。原因:
测试用例应该放在src/test/java/...路径下,我是放在了src/main/java/..路径下了。 因为没有遵守其规则,才出现了该问题。
分类:
其他好文 时间:
2014-07-22 23:00:13
阅读次数:
5348
原pom.xml配置文件: 4.0.0 com.my.helloworld hello-world
1.0-SNAPSHOT Maven Hello World Project junit jun...
分类:
其他好文 时间:
2014-07-22 22:59:36
阅读次数:
374
一、软件下载Eclipse3.6 IDE for Java EE Developers:
下载地址:http://eclipse.org/downloads/Tomcat Eclipse Plugin,
下载地址:http://www.eclipsetotale.com/tomcatPlugin.h...
分类:
系统相关 时间:
2014-05-01 22:38:42
阅读次数:
584
一、安装 JDK 下载JDK最新版本,下载地址如下:
http://www.oracle.com/technetwork/java/javase/downloads/index.html 二、下载并安装
Eclipse http://www.eclipse.org/downloads/
分类:
移动开发 时间:
2014-05-01 21:03:30
阅读次数:
560
安装ccs_setup_5.1.1.00028.exe后(无论是自己装eclipse还是在原来的基础上安装eclipse的插件),ccs5的应用无法打开,错误为:An
error has occurred.See the log file .\workspace\.metadata\.log.本现象...
分类:
其他好文 时间:
2014-05-01 20:57:36
阅读次数:
888
1、环境: Maven :3.1.1 开发工具:Spring Tool Suite 数据库 :
Mysql 5.62、项目文件结构文件代码:2.1 、pom.xml 4.0.0 hibernate hibernate 0.0.1-SNAPSHOT jar
hibe...
分类:
系统相关 时间:
2014-05-01 19:43:40
阅读次数:
695
介绍SpringMVC是一款Web MVC框架。 它跟Struts框架类似,是目前主流的Web
MVC框架之一。本文通过实例来介绍SpringMVC的入门知识。实例本文所写的实例是一个员工的CRUD demo。 用idea编写,基于maven,
Web框架使用SpringMVC,视图采取Freema...
分类:
编程语言 时间:
2014-05-01 18:44:43
阅读次数:
370
一.开发环境
eclipse+tomcat+struts-2.2.3
eclipse下载地址:http://www.eclipse.org/downloads/
tomcat下载地址:http://tomcat.apache.org/download-70.cgi
struts下载地址:http://struts.apac...
分类:
其他好文 时间:
2014-04-30 22:45:39
阅读次数:
404
1、 tomcat插件
如果是Kepler的话,已经自带了tomcat插件,如果没有,到http://www.eclipsetotale.com/tomcatPlugin.html下载安装或在线安装,这里就不多说了。
2、创建Server
打开serversview(windowàshow viewàservers),在servers view中新建一个server,如下图所示:...
分类:
系统相关 时间:
2014-04-30 22:33:40
阅读次数:
528
前文描述的是在SDK下用Ant开发, 本文在此基础上尝试用Maven开发。这里需要用到maven-android-plugin。本文主要参考官方文档: https://code.google.com/p/maven-android-plugin/wiki/GettingStarted首先从这里下载例子工程:https://code.google.com/p/maven-android-plugin...
分类:
移动开发 时间:
2014-04-30 22:31:40
阅读次数:
412