当前位置: 代码迷 >> Java相关 >> 新手 JSP异常有关问题
  详细解决方案

新手 JSP异常有关问题

热度:1829   发布时间:2013-02-25 21:51:24.0
新手 JSP错误问题
我的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里面
  相关解决方案