maven项目,tomcat在发布项目的时候没有同时发布maven依赖所添加的jar包,
你需要设置一下eclipse:
项目?—>?属性?->?Deployment?Assembly?->?Add?->??Build?Path?Entries?->?选择Maven?Depende...
分类:
其他好文 时间:
2015-08-03 21:08:43
阅读次数:
195
Maven环境变量配置:
变量名:M2_HOME 变量值:D:\bin\apache-maven-2.2.1 (安装路径)
在path值后面追加 %M2_HOME%\bin; (注意要加分号)
测试:
Mvn –version
maven常用命令为 :
mvnarchetype:create :创建 Mave...
分类:
其他好文 时间:
2015-08-03 19:20:32
阅读次数:
206
Caused by: java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf-extension-soap.xml] cannot be opened because it does not exist用的最新版本,这...
分类:
编程语言 时间:
2015-08-03 18:59:25
阅读次数:
734
在上篇文章中eclipse已经能访问HDFS目录,但并不能进行Mapreduce编程,在这里小编将常见错误和处理办法进行总结,希望对大家有所帮助
错误1:ERROR [main] util.Shell (Shell.java:getWinUtilsPath(303)) - Failed to locate the winutils binary in the hadoop binary path...
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.N...
分类:
其他好文 时间:
2015-08-03 16:41:11
阅读次数:
82
一、既然存在访问规则,那么修改访问规则即可。打开项目的Build Path Configuration页面,打开报错的JAR包,选中Access rules条目,选择右侧的编辑按钮,添加一个访问规则即可。二、网上的另外一种解决方案:Window - preference - Java - Compi...
分类:
数据库 时间:
2015-08-03 16:40:17
阅读次数:
151
[HOST,PATH,QUERY,REF,PROTOCOL,FILE,AUTHORITY,USERINFO]。 举例: * parse_url(‘http://facebook.com/path/p1.php?query=1‘, ‘HOST‘)返回‘facebook.com‘? * parse_url(‘http://facebook.com/path/p1.php?query...
分类:
Web程序 时间:
2015-08-03 15:02:42
阅读次数:
188
只有管理员才可以改变文件属主:chownusernamefile...把文件的属主改为username-R修改目录及其内部文件的属主--reference=/path/to/somefilefile1引用参考,将file1文件的属主改为somefile的属主chgrpGRPNAMEfile,。。。改变文件属组-R也可以同时改,如下:chownroot:root/tmp/..
分类:
其他好文 时间:
2015-08-03 14:59:05
阅读次数:
127
TCHAR buffer[MAX_PATH] = {0};
DWORD dwVal = ::GetLogicalDriveStrings(MAX_PATH,buffer);
CString str;
for(int i = 0; i < dwVal; i += 4)
{
CString str;
str.Format(_T("%c:\\"), buffer[i]);
}...
1、返回当前目录的绝对路径:basepath=$(cd `dirname $0`; pwd)echo $basepath2、返回当前路径的上一级目录:xp_path=`dirname "$basepath"`echo $xp_path3、那么要返回当前目录的上两级呢,可以继续dirname:sp_p...
分类:
其他好文 时间:
2015-08-03 14:15:49
阅读次数:
104