Date: Wed, 7 Mar 2001 11:29:27 -0500 From: "Drew Lister" <dlister@crossoft.com> To: <freebsd-java@FreeBSD.ORG> Subject: Trying to Create a simple Bean Message-ID: <9FD1AD5A8A0EB94B8B41ABC47563ED4B3B56@exchange1.crossoft.com>
next in thread | raw e-mail | index | archive | help
I have what is hopefully an extremely simple question. I searched the archives for this mailing list and could not find it. I am trying to use a very simple bean in a jsp page. It compiles fine, but when I run the jsp page that references it I get this error: =20 [http://jsp.crossoft.com/pants.jsp] =20 Error compiling source file: file:/usr/home/lister/www/pants.jsp builtin-javac -classpath /usr/local/share/java/classes/ApacheJServ.jar:/usr/local/share/java/clas ses/jsdk.jar:/usr/local/share/java/classes/mysql_comp.jar:/usr/local/jdk 1.1.8/classes:/usr/local/jdk1.1.8/lib/classes.jar:/usr/local/jdk1.1.8/li b/rt.jar:/usr/local/jdk1.1.8/lib/i18n.jar:/usr/local/jdk1.1.8/lib/classe s.zip:/usr/local/share/java/classes/gnujsp10.jar:/usr/local/share/java/c lasses/servlet-2.0-plus.jar -d /usr/local/www/gnujsp -deprecation /usr/local/www/gnujsp/jsp__pants_2ejsp.java /pants.jsp:2: Class DiceBean not found in type declaration. DiceBean time =3D (DiceBean) ^ /pants.jsp:2: Class DiceBean not found in type declaration. DiceBean time =3D (DiceBean) ^ /pants.jsp:2: Class DiceBean not found in type declaration. time =3D new DiceBean (); ^ 3 errors Anyone have any ideas on what a type delcaration is? or what I'm doing wrong? I'm guessing it's a minor configuration problem. I just don't have the expertise yet to solve it. =20 =20 Thanks in advance, =20 Drew Lister =20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9FD1AD5A8A0EB94B8B41ABC47563ED4B3B56>