目录:
- 概述
- 实验环境
- 服务端的实现
- 客户端的实现
[一]、概述
Java API for XML Web Services (JAX-WS)是Java程序设计语言一个用来[……]
导入source文件的命令:
1 |
mvn install:install-file -DgroupId=tokyotyrant -DartifactId=tokyotyrant -Dversion=0.11 -Dpackaging=jar -Dfile=tokyotyrant-0.11-sources.jar -DgeneratePom=true -Dclassifier=sources |
导入过程如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
d:\>mvn install:install-file -DgroupId=tokyotyrant -DartifactId=tokyotyrant -D version=0.11 -Dpackaging=jar -Dfile=tokyotyrant-0.11-sources.jar -DgeneratePom =true -Dclassifier=sources [INFO] Scanning for projects... [INFO] [INFO] ----------------------------------------------------------------------- [INFO] Building Maven Stub Project (No POM) 1 [INFO] ----------------------------------------------------------------------- [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @ standalone- m --- [INFO] Installing d:\tokyotyrant-0.11-sources.jar to d:\.m2\repository\tokyoty nt\tokyotyrant\0.11\tokyotyrant-0.11-sources.jar [INFO] Installing C:\Users\Michael\AppData\Local\Temp\mvninstall35351970540989 266.pom to d:\.m2\repository\tokyotyrant\tokyotyrant\0.11\tokyotyrant-0.11.pom [INFO] ----------------------------------------------------------------------- [INFO] BUILD SUCCESS [INFO] ----------------------------------------------------------------------- [INFO] Total time: 1.029s [INFO] Finished at: Thu Jun 28 16:56:01 CST 2012 [INFO] Final Memory: 2M/15M [INFO] ----------------------------------------------------------------------- |
导入之前的本地[……]
ant 进行编译时发生如下错误信息:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
G:\test\ant\hello-ivy>ant Buildfile: G:\test\ant\hello-ivy\build.xml resolve: BUILD FAILED G:\test\ant\hello-ivy\build.xml:38: Problem: failed to create task or type antli b:org.apache.ivy.ant:retrieve Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -D:\ant\bin\..\lib -C:\Users\Michael\.ant\lib -a directory added on the command line with the -lib argument Total time: 0 seconds |
原因:ant的lib目录下缺少ivy相关的jar
解决办法:把ivy的jar包(ivy[……]
近期评论