Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 47777 invoked from network); 29 May 2003 07:14:27 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 May 2003 07:14:27 -0000 Received: (qmail 4790 invoked by uid 97); 29 May 2003 07:16:50 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 4783 invoked from network); 29 May 2003 07:16:49 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 May 2003 07:16:49 -0000 Received: (qmail 46325 invoked by uid 500); 29 May 2003 07:14:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 46313 invoked from network); 29 May 2003 07:14:08 -0000 Received: from unknown (HELO novasoft.es) (62.81.195.2) by daedalus.apache.org with SMTP; 29 May 2003 07:14:08 -0000 Received: from imasd1 ([62.81.195.13]) by novasoft.es with esmtp; Thu, 29 May 2003 09:14:16 +0200 Message-ID: <001101c325b1$cc75fef0$770a000a@novasoft.es> From: "David Reche Martinez" To: "Tomcat Users List" References: <9C5166762F311146951505C6790A9CF8A6E577@US-VS1.corp.mpi.com> Subject: Re: Tomcat/Java compiler error Date: Thu, 29 May 2003 09:13:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yeeeeeahhhh !!! It's Right !! Thank you very much. But why in older versions was not necessary and now is mandatory? ----- Original Message ----- From: "Shapira, Yoav" To: "Tomcat Users List" Sent: Wednesday, May 28, 2003 6:27 PM Subject: RE: Tomcat/Java compiler error Howdy, UserBean needs to be in a package. See http://tomcatfaq.sourceforge.net/classnotfound.html Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: David Reche Martinez [mailto:dreche@novasoft.es] >Sent: Wednesday, May 28, 2003 12:12 PM >To: tomcat-user@jakarta.apache.org >Subject: Tomcat/Java compiler error > >Hi all, > >I have tomcat-4.1.24 and I'm trying to test a very simple jsp that use a >JavaBean: > >** -- HolaMundo.jsp ><%@ page language="java" %> ><%@ page import="UserBean" %> > > > > > > > > ¡Hola Mundo! > > >

¡Hola !

> > > >I follow the directory hierarchy that is explained in the helps docs >(WEB-INF/classes) but when I try to execute the jsp through the navigator I >have this error: > >org.apache.jasper.JasperException: No se puede compilar la clase para JSP > >An error occurred at line: -1 in the jsp file: null > >Generated servlet error: > [javac] Since fork is true, ignoring compiler setting. > [javac] Compiling 1 source file > [javac] Since fork is true, ignoring compiler setting. > [javac] >/usr/local/tomcat- >4.1.24/work/Standalone/localhost/prueba/prueba1_jsp.java:8 >: '.' expected > [javac] import UserBean; > [javac] ^ > [javac] 1 error > >Can anybody help me? > >Thank you > >David Reche Mart�nez > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org