🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #77

Re: PROBLEMA (Tomcat) : Unable to compile class for JSP

#77
From: gato2005_cl
Date: Thu, 16 Mar 2006 00:51
60 lines
3285 bytes
�Permisos?

Prometeo escribi�:
> Hola, se�oras, se�ores y se�oritas....
> 
> Me encuentro perplejo, y ante ello solicito con premura ayuda para
> abordarlo, ante un problema que me arroj� la implantaci�n de una
> aplicaci�n JAVA + Oracle que desarroll� en JDeveloper.
> 
> En la m�quina de desarrollo funciona impecable. Nada brujo: Clases,
> Servlets, JSP. Nada empaquetado, porque no estim� necesario armar un
> paquete pa' tan poca cosa...
> 
> El problema lo tengo al montarlo en el servidor Tomcat. Los primeros
> Servlets funcionan sin problemas... Mi drama surge cuando alg�n JSP
> quiere crear un Objeto. Entonces arroja esta p�gina de horror
> (simplificada):
> 
> HTTP Status 500 -
> type Exception report
> message
> description: The server encountered an internal error () that prevented
> it from fulfilling this request.
> exception
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: 2 in the jsp file: /edactde_usuario.jsp
> 
> Generated servlet error:
>     [javac] Compiling 1 source file
> 
> /usr/local/tomcat/work/Standalone/localhost/segsol/edactde_usuario_jsp.java:48:
> cannot resolve symbol
> symbol  : class StrQry
> location: class org.apache.jsp.edactde_usuario_jsp
>   StrQry qry = new StrQry("edactde_usuario",null);
>   ^
> 
> An error occurred at line: 2 in the jsp file: /edactde_usuario.jsp
> 
> Generated servlet error:
> /usr/local/tomcat/work/Standalone/localhost/segsol/edactde_usuario_jsp.java:48:
> cannot resolve symbol
> symbol  : class StrQry
> location: class org.apache.jsp.edactde_usuario_jsp
>   StrQry qry = new StrQry("edactde_usuario",null);
>                             ^
> 
> 2 errors
> 
> 
> 	at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
> 
> He googleado de mucha gente con el mismo problema, pero 0 soluciones.
> �Alg�n modo de indicar, por ejemplo en el web.xml, la ubicaci�n de
> las clases que necesita cada p�gina JSP?
> 
> �Alguna idea? �Gracias desde ya por cualquier info! :)
> 
Technical Details
Message-ID: <dvacrh$2co$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
References: <1142438468.772421.4320@z34g2000cwc.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,3502227cb1a0720
X-Google-Thread: 107d6b,3502227cb1a0720
X-Google-Attributes: gid1593cb,gid107d6b,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
From: gato2005_cl <misforos.chileSINESTO@gmail.com>
Newsgroups: chile.comp.programacion,chile.comp.misc
Subject: Re: PROBLEMA (Tomcat) :  Unable to compile class for JSP
Date: Wed, 15 Mar 2006 20:51:52 -0400
Organization: Varios
Lines: 60
Message-ID: <dvacrh$2co$1@news.nivel5.cl>
References: <1142438468.772421.4320@z34g2000cwc.googlegroups.com>
NNTP-Posting-Host: pc-178-51-86-200.cm.vtr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.nivel5.cl 1142470321 2456 200.86.51.178 (16 Mar 2006 00:52:01 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Thu, 16 Mar 2006 00:52:01 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Win98; es-ES; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.7 Mnenhy/0.7.3.0
In-Reply-To: <1142438468.772421.4320@z34g2000cwc.googlegroups.com>