bean已经写好,但是在使用的时侯报错:找不类,是不是.class要放在什么特定的目录?
来源: 互联网 发布时间:2015-01-01
本文导语: org.apache.jasper.JasperException: Unable to compile class for JSPC:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:62: 找不到类 opendb.opendb。 opendb.opendb registerbean = null; ^ C:tomca...
org.apache.jasper.JasperException: Unable to compile class for JSPC:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:62: 找不到类 opendb.opendb。
opendb.opendb registerbean = null;
^
C:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:65: 找不到类 opendb.opendb。
registerbean= (opendb.opendb)
^
C:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:70: 找不到类 opendb.opendb。
registerbean = (opendb.opendb) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "opendb.opendb");
^
C:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:95: 找不到类 org.apache.jsp.Statment。
Statment stmt = registerbean.conn.createStatement();
opendb.opendb registerbean = null;
^
C:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:65: 找不到类 opendb.opendb。
registerbean= (opendb.opendb)
^
C:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:70: 找不到类 opendb.opendb。
registerbean = (opendb.opendb) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "opendb.opendb");
^
C:tomcatbin..worklocalhost_jspbbsuserregsave_jsp.java:95: 找不到类 org.apache.jsp.Statment。
Statment stmt = registerbean.conn.createStatement();
|
C:tomcatwebappsROOTWEB-INFclassesopendb