在cmd下执行java文件报错误,因为引用第三方jar包执行,先上图看正确效果
cd E:\zhtt-workspace\workspace-java\webservice\lib
javac -classpath commons-codec-1.4.jar;commons-httpclient-3.1.jar;commons-lang-2.4.jar;cxf-2.2.3.jar;dom4j-1.6.1.jar;jdom-1.0.jar;log4j-1.2.16.jar;selenium-server.jar;wsdl4j-1.6.2.jar;xfire-all-1.2.6.jar;XmlSchema-1.1.jar;xwork-core-2.2.1.1.jar StatisticsInterfaceTest.java
java -classpath ".;commons-codec-1.4.jar;commons-httpclient-3.1.jar;commons-lang-2.4.jar;cxf-2.2.3.jar;dom4j-1.6.1.jar;jdom-1.0.jar;log4j-1.2.16.jar;selenium-server.jar;wsdl4j-1.6.2.jar;xfire-all-1.2.6.jar;XmlSchema-1.1.jar;xwork-core-2.2.1.1.jar" StatisticsInterfaceTest