当前位置: 技术问答>java相关
apache soap配置出现的问题,高分求救
来源: 互联网 发布时间:2015-07-26
本文导语: 我下载了tomcat4.0.4,soap2.0和xerces1.2.1在进行admin的deploy时,提示: org.apache.jasper.JasperException: Unable to compile class for JSP E:programsjakarta-tomcat-4.0.4workStandalonelocalhostapache-soapadmindeploy$jsp.java:6: Package org.apache.soap.util not fou...
我下载了tomcat4.0.4,soap2.0和xerces1.2.1在进行admin的deploy时,提示:
org.apache.jasper.JasperException: Unable to compile class for JSP
E:programsjakarta-tomcat-4.0.4workStandalonelocalhostapache-soapadmindeploy$jsp.java:6: Package org.apache.soap.util not found in import.
import org.apache.soap.util.*;
我的classpath是这样设置的:
classpath=E:programssoap-2_0libsoap.jar;E:programsxerces-1_2_1xerces.jar;E:programsjakarta-tomcat-4.0.4commonlibmail.jar;E:programsjakarta-tomcat-4.0.4commonlibactivation.jar;E:programsJBuilder6jdk1.3.1jrelibrt.jar;E:programsJBuilder6libjbcl.jar;E:programsJBuilder6libdx.jar;E:programsJBuilder6libbeandt.jar;E:programsJBuilder6libdbswing.jar;E:programsJBuilder6jdk1.3.1jrelibi18n.jar;E:programsJBuilder6jdk1.3.1jrelibjaws.jar;E:programsJBuilder6jdk1.3.1jrelibsunrsasign.jar;E:programsJBuilder6jdk1.3.1libdt.jarset;E:programsJBuilder6jdk1.3.1libhtmlconverter.jar;E:programsJBuilder6jdk1.3.1libtools.jar;;E:programsjakarta-tomcat-4.0.4commonlibservlet.jar;
而且我写了一个test.java能够正确运行,test.java源程序如下:
import org.apache.soap.server.*;
import org.apache.soap.util.*;
import org.apache.soap.util.xml.*;
public class test{
static public void main(String[] args)
{
System.out.print("ok");
}
}
请各位大侠帮忙看一下是啥问题,谢谢!
org.apache.jasper.JasperException: Unable to compile class for JSP
E:programsjakarta-tomcat-4.0.4workStandalonelocalhostapache-soapadmindeploy$jsp.java:6: Package org.apache.soap.util not found in import.
import org.apache.soap.util.*;
我的classpath是这样设置的:
classpath=E:programssoap-2_0libsoap.jar;E:programsxerces-1_2_1xerces.jar;E:programsjakarta-tomcat-4.0.4commonlibmail.jar;E:programsjakarta-tomcat-4.0.4commonlibactivation.jar;E:programsJBuilder6jdk1.3.1jrelibrt.jar;E:programsJBuilder6libjbcl.jar;E:programsJBuilder6libdx.jar;E:programsJBuilder6libbeandt.jar;E:programsJBuilder6libdbswing.jar;E:programsJBuilder6jdk1.3.1jrelibi18n.jar;E:programsJBuilder6jdk1.3.1jrelibjaws.jar;E:programsJBuilder6jdk1.3.1jrelibsunrsasign.jar;E:programsJBuilder6jdk1.3.1libdt.jarset;E:programsJBuilder6jdk1.3.1libhtmlconverter.jar;E:programsJBuilder6jdk1.3.1libtools.jar;;E:programsjakarta-tomcat-4.0.4commonlibservlet.jar;
而且我写了一个test.java能够正确运行,test.java源程序如下:
import org.apache.soap.server.*;
import org.apache.soap.util.*;
import org.apache.soap.util.xml.*;
public class test{
static public void main(String[] args)
{
System.out.print("ok");
}
}
请各位大侠帮忙看一下是啥问题,谢谢!
|
要修改setclasspath.bat中对classpath环境变量的设置,
要把soap.jar activaction.jar mail.jar xerces.jar所在目录设置到classpath中就OK了
哈哈
要把soap.jar activaction.jar mail.jar xerces.jar所在目录设置到classpath中就OK了
哈哈