我的Jbuilder2005 运行JSP文件 就报错
"jsp1.jsp": java.lang.NoClassDefFoundError: org/apache/jasper/JspC
Exception in thread "main"
F:\JBuilder\jdk1.4\bin\java -classpath ";F:\ertert\classes;F:\JBuilder\jdk1.4\jre\bin\JBuilder2005_c.jar;F:\JBuilder\jdk1.4\jre\lib\im\indicim.jar;F:\JBuilder\jdk1.4\jre\lib\im\thaiim.jar;F:\JBuilder\jdk1.4\jre\lib\ext\dnsns.jar;F:\JBuilder\jdk1.4\jre\lib\ext\sunjce_provider.jar;F:\JBuilder\jdk1.4\jre\lib\ext\ldapsec.jar;F:\JBuilder\jdk1.4\jre\lib\ext\localedata.jar;F:\JBuilder\jdk1.4\jre\lib\jsse.jar;F:\JBuilder\jdk1.4\jre\lib\plugin.jar;F:\JBuilder\jdk1.4\jre\lib\sunrsasign.jar;F:\JBuilder\jdk1.4\jre\lib\charsets.jar;F:\JBuilder\jdk1.4\jre\lib\rt.jar;F:\JBuilder\jdk1.4\jre\lib\jce.jar;F:\JBuilder\jdk1.4\jre\javaws\javaws.jar;F:\JBuilder\jdk1.4\lib\tools.jar;F:\JBuilder\jdk1.4\lib\dt.jar;F:\JBuilder\jdk1.4\lib\htmlconverter.jar" org.apache.jasper.JspC -d "F:/ertert/classes/Temporary_Files/.jsp/WebModule1" -p org.apache.jsp -c jsp1_jsp -uriroot "F:/ertert/WebModule1" "F:/ertert/WebModule1/jsp1.jsp"
"jsp1.jsp": Invocation Error
而编译 Class文件就能正常运行···
请教高手
------解决方案--------------------------------------------------------
所缺失的class不在jre的基本类库里面,需要额外添加jar文件到lib里面