我正在尝试使用ANT运行我的build.xml。
这是一个错误:
package com.ibm.jsse2 does not exist
使用eclipse我使用相同的脚本构建。
如果我尝试在命令提示符下运行,则显示以下错误:
F:\New folder\Clinical>ant -f build_MEDCOM_ear.xml medcom.ear
Buildfile: F:\New folder\Clinical\build_MEDCOM_ear.xml
clear:
build:
[mkdir] Created dir: F:\New folder\Clinical\web\WEB-INF\classes
[javac] F:\New folder\Clinical\build_MEDCOM_ear.xml:69: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=
last; set to false for repeatable builds
[javac] Compiling 1430 source files to F:\New folder\Clinical\web\WEB-INF\classes
[javac] F:\New folder\Clinical\src\com\igi\phr\eligibility\util\HTTPXMLProxy.java:116: package com.ibm.jsse2 does not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\eprescription\web\proxy\AuthenticatingXmlServerProxy.java:273: package com.ibm.jsse2
does not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\eprescription\web\proxy\DirectoryXmlServerProxy.java:139: package com.ibm.jsse2 does
not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\eprescription\web\test\EprescriptionTest.java:120: package com.ibm.jsse2 does not ex
ist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\payment\cr\tcp\GetiClient.java:50: package com.ibm.jsse2 does not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\payment\cr\tcp\GetiClient.java:84: package com.ibm.jsse2 does not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\payment\cr\unittest\GetiClientTest.java:62: package com.ibm.jsse2 does not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\payment\multipass\util\MPConnector.java:1431: package com.ibm.jsse2 does not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] F:\New folder\Clinical\src\com\igi\phr\payment\vendor\skipjack\tcpConnection\SJConnector.java:328: package com.ibm.jsse2 do
es not exist
[javac] Security.addProvider(new com.ibm.jsse2.IBMJSSEProvider2());
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 errors
BUILD FAILED
F:\New folder\Clinical\build_MEDCOM_ear.xml:69: Compile failed; see the compiler error output for details.
Total time: 5 seconds