java.lang.ClassNotFoundException:使用外部jar的小程序
我正在使用jsp页面开发小程序代码java.lang.ClassNotFoundException:使用外部jar的小程序,java,html,jsp,applet,Java,Html,Jsp,Applet,我正在使用jsp页面开发小程序代码 <APPLET id = "app" codebase="<%=request.getContextPath()%>/lib/" code="com.myDemo.test.RunApplet.class" width=100 height=50 archive="myApp1.jar, myApp2.jar"> </APPLE
<APPLET
id = "app"
codebase="<%=request.getContextPath()%>/lib/"
code="com.myDemo.test.RunApplet.class"
width=100
height=50
archive="myApp1.jar, myApp2.jar">
</APPLET>
当我执行myApplet.jsp时,它将抛出错误
java.lang.ClassNotFoundException:com.myDemo.test.RunApplet.class
我也申请了
codebase = "."
codebase = "classes"
codebase = "classes/"
但仍然是ClassNotFoundException。您必须引用