D:\code\nlp-lang-master>mvn install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.nlpcn:nlp-lang:jar:1.0.2
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-
plugin is missing. @ line 94, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building nlp-lang 1.0.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nlp-lang -
--
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ nlp-lang ---
Downloading: https://repo.maven.apache.org/maven2/org/eclipse/tycho/org.eclipse.
jdt.core/3.8.1.v20120531-0637/org.eclipse.jdt.core-3.8.1.v20120531-0637.jar
Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/tycho/org.eclipse.j
dt.core/3.8.1.v20120531-0637/org.eclipse.jdt.core-3.8.1.v20120531-0637.jar (4575
KB at 46.8 KB/sec)
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nl
p-lang ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ nlp-lan
g ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ nlp-lang ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ nlp-lang ---
[INFO] Building jar: D:\code\nlp-lang-master\target\nlp-lang-1.0.2.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default) @ nlp-lang ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ nlp-lang ---
[INFO] Installing D:\code\nlp-lang-master\target\nlp-lang-1.0.2.jar to D:\Java\.
m2\repository\org\nlpcn\nlp-lang\1.0.2\nlp-lang-1.0.2.jar
[INFO] Installing D:\code\nlp-lang-master\pom.xml to D:\Java\.m2\repository\org\
nlpcn\nlp-lang\1.0.2\nlp-lang-1.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:43 min
[INFO] Finished at: 2015-08-07T16:48:51+08:00
[INFO] Final Memory: 20M/179M
[INFO] ------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml&q
Mockito单元测试实例:
public class SettingServiceTest {
private List<PersonDTO> personList = new ArrayList<PersonDTO>();
@InjectMocks
private SettingPojoService settin
public class DeleteExtraSpace {
/**
* 题目:给定字符串,删除开始和结尾处的空格,并将中间的多个连续的空格合并成一个。
* 方法1.用已有的String类的trim和replaceAll方法
* 方法2.全部用正则表达式,这个我不熟
* 方法3.“重新发明轮子”,从头遍历一次
*/
public static v
今天早上打开MyEclipse时,自动关闭!弹出An error has occurred.See the log file错误提示!
很郁闷昨天启动和关闭还好着!!!打开几次依然报此错误,确定不是眼花了!
打开日志文件!找到当日错误文件内容:
--------------------------------------------------------------------------