Put it in a package ... http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
Goo GGooo wrote:
On 10/4/05, Wendy Smoak wrote:
From: Goo GGooo [EMAIL PROTECTED]
An error occurred at line: 1 in the jsp file: /name.jsp
Generated servlet error:
UserData cannot be resolved or is not a
Hi all,
I've got Tomcat 5.5.9 running on SUSE Linux 9.2, followed tutorial at
http://www.coreservlets.com/Apache-Tomcat-Tutorial/ and got it up and
running, can see the Tomcat mainpage and run all bundled examples.
However when I try a trivial example with HTML forms Tomcat barfs:
===
On 10/4/05, Wendy Smoak wrote:
From: Goo GGooo [EMAIL PROTECTED]
An error occurred at line: 1 in the jsp file: /name.jsp
Generated servlet error:
UserData cannot be resolved or is not a type
===
Files webapps/tut/name.jsp and
webapps/tut/WEB-INF/classes/UserData.java are attached.
Tomcat 4.1 on HP-UX 11.11, Java version 1.5.0
I'm getting the following in the webapp's log file:
15:12:18,422 - ERROR org.apache.struts.taglib.tiles.InsertTag -
ServletException
in '/WEB-INF/jsp/layout/vboxLayout.jsp': ServletException in
'/WEB-INF/jsp/prof
ile/profileGivingSummary.jsp':
I have a custom tag MessageTag that has an overloaded setValue method. It is
being used like this.
title
fmt:message value=exception.title /
/title
Instead of calling the setValue(String v) method, the generated code for the
JSP is calling
_jspx_th_fmt_message_0.setValue(
You shouldn't overload settors which act as beans or you'll get this problem.
-Tim
Tom Bryan wrote:
I have a custom tag MessageTag that has an overloaded setValue method. It is
being used like this.
title
fmt:message value=exception.title /
/title
Instead of calling the setValue(String v)
and it will be displayed on browser
thro' JSP page test-db.jsp. I'm using Netscape 7.2
browser. When i run test-db.jsp after running tomcat
apache, it gives JasperException. It's saying -
TestSQLLoad cannot be resolved or is not a type.
I created jar file with TestSQLLoad.java
TestSQLLoad.class and put
-Ursprüngliche Nachricht-
Von: U K Laxmi [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. Februar 2005 04:27
An: tomcat-user@jakarta.apache.org
Betreff: JasperException while running JSP
I have integrated tomcat 5.5 with apache 2
successfully and i could able to run sample JSPs. Now
i created a jsp page
and it will be displayed on browser
thro' JSP page test-db.jsp. I'm using Netscape 7.2
browser. When i run test-db.jsp after running
tomcat
apache, it gives JasperException. It's saying -
TestSQLLoad cannot be resolved or is not a type.
I created jar file with TestSQLLoad.java
TestSQLLoad.class
@jakarta.apache.org
Betreff: JasperException while running JSP
I have integrated tomcat 5.5 with apache 2
successfully and i could able to run sample JSPs.
Now
i created a jsp page which will inititate a Java
program called TestSQLLoad.java. TestSQLLoad.java
talks to Ms Access database
on browser
thro' JSP page test-db.jsp. I'm using Netscape 7.2
browser. When i run test-db.jsp after running tomcat
apache, it gives JasperException. It's saying -
TestSQLLoad cannot be resolved or is not a type.
I created jar file with TestSQLLoad.java
TestSQLLoad.class and put it in
TOMCAT_ROOT/webapps
Greetings:
Thanks to everyone for helping me solve my SSL issue last week. That
application is now functioning properly.
I have a new question - I have an app which throws a JasperExcep[tion
whenever I try to use a RequestDispatcher to forward the request. I
am using Tomcat 5.0.12 - here is
Hi,
I have a new question - I have an app which throws a JasperExcep[tion
whenever I try to use a RequestDispatcher to forward the request. I
am using Tomcat 5.0.12 - here is the code:
Use a stable and more recent Tomcat release like 5.0.28.
An exception may have a null message: that's legal
On 28 July 2004 18:44 I said:
I don't understand why tomcat/jasper has decide to call
getValueFromPropertyEditorManager for properties second
and targetDate and not simply passed in the strings
that have been set up (as it did in the setFirst call).
I tracked this down; it would appear
to this
problem. Any help would be gratefully appreciated.
Basically under tomcat the class generated from my JSP fails by throwing a
JasperException:
org.apache.jasper.JasperException: jsp.error.beans.property.conversion
Hi
After we deployed application in tomcat we got this error: (However the
deployment done successfully in oracle 10G OC4J Server and works fine).
org.apache.jasper.JasperException: Unable to compile class for JSP An
error occurred at line: 135 in the jsp file: sri/eEntries.jsp Generated
servlet
have you tried copying tools.jar inside tomcat\common\lib folder?
just a thought!
-Original Message-
From: Avula, Srini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 5:43 PM
To: [EMAIL PROTECTED]
Subject: JasperException
Hi
After we deployed application in tomcat we got
Hello!
Problem: I don't get Tomcat to compile my jsps.
I have the problem just with new Jsps (so path and file in the
work-directory don't exist yet)
I also just have the problem with tomcat running as daemon.
The daemon and the normal tomcat-application both are running as
user
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null Generated servlet error:
[javac] Compiling 1 source file
This is on a new install of Tomcat 4.1.2. This example fails at
localhost:8080. I can get the servlet examples to work by
-
From: Januski, Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 3:23 PM
To: Tomcat Users List
Subject: Tomcat 4.1.2 jsps fail with JasperException
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null Generated
No luck with a reboot. All jsps are failing to compile with the message
noted below.
-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 3:51 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1.2 jsps fail with JasperException
This Tomcat
Hi There,
Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.
The question arises when I try and display a 4meg file.
If there is a limit is there any way to increase the maximum allowed size?
Thanks
Pete
What are you displaying in a JSP page that takes up 4 megs ?
Peter Guyatt wrote:
Hi There,
Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.
The question arises when I try and display a 4meg file.
If there is a limit is there any way to
Hi there,
Its an XML file
Pete
-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 17 December 2003 11:12
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException
What are you displaying in a JSP page that takes up 4 megs ?
Peter Guyatt
Users List
Subject: Re: Maximum page size before JasperException
What are you displaying in a JSP page that takes up 4 megs ?
Peter Guyatt wrote:
Hi There,
Can anyone possibly tell me what the maximum page size allowed when
compiling/presenting JSP page.
The question arises when I try
Subject: Re: Maximum page size before JasperException
Hmm maybe you can just write out the file to the response body in a
servlet ? Or do you need to do something in the jsp ?
Peter Guyatt wrote:
Hi there,
Its an XML file
Pete
-Original Message-
From: Kwok Peng Tuck [mailto
December 2003 11:21
To: Tomcat Users List
Subject: Re: Maximum page size before JasperException
Hmm maybe you can just write out the file to the response body in a
servlet ? Or do you need to do something in the jsp ?
Peter Guyatt wrote:
Hi there,
Its an XML file
Pete
-Original Message
Look at the reply to the post titled: org.apache.jasper.JasperException.
(20 or so messages before this one)
Its in a different context but I think you have the same problem as I had.
-Nirmit
hi,
I get the foll. error message when I try to run my JSP, which has just
one expression. Since I
It's a NullPointerException at line 136 of the servlet
createReader_jsp.java generated from your jsp source. Have a look at
that file. It's somewhere in tomcat's work directory.
As to commenting out: if you've used a HTML comment in the jsp then the
underlying java code is still generated and
hi,
I get the foll. error message when I try to run my JSP, which has just
one expression. Since I get the exception even when I comment this out,
this leads me to think that somehow Tomcat is not able to run my JSP.
Any ideas?
thanks,
Rishi
Hi,
I am getting the following JasperException. (Please scroll below for the
exception :-) ). I am relatively new to jsp. Can anyone please point me as
to what's going wrong here?
FYI I am including the jsp code also.
-jsp code
html
head
script type=text
Hi,
Your JSP code is wrong. The %@ page import... % directive needs to go at
the top of the page. When the Jasper compiler turns it into Java, that
directive gets turned into one or more Java import statements, and you
wouldn't stick those in the middle of your code.
Remember, all the HTML
.
Regards,
Goutam
-Original Message-
From: Christopher Williams [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 8:00 PM
To: Tomcat Users List
Subject: Re: newbie jasperException
Hi,
Your JSP code is wrong. The %@ page import... % directive needs to go at
the top of the page
Hi,
With Tomcat 5.0.9 and 5.0.11 I get the following JasperException when using
a 'tag file' with a scripting variable:
Unable to find setter method for attribute: theVar
I searched the internet over and over for a solution.
(I simplified my original tag below for testing purposes).
Kind
Hi everyone,
I'm developping a web service application using Nusoap
for the server side in php and Axis for the client
side in java. The service make request to a MySQL
database on a distant computer. I want to present the
result in a portal (jetspeed) so I'm using jsp pages
for the client side.
Hi!
I encounter the 'org.apache.jasper.JasperException: Unable to compile class for
JSP
' error when trying to display a simple JSP.
The JSP is just the 'Hello World' thing to ensure my installation is working.
So no beans to be imported etc.
All workarounds I read so far do not help.
I made
You have blocks { .. } that are not matching or you have a catch without
the an appropriate try. Look at
C:\Development\eclipse\workspace\TestTomcat1\work\org\apache\jsp\test_jsp.java
and backtrack the coding error to your jsp.
-Tim
Thomas Henkel wrote:
Hi!
I encounter the
What I see from the log is that the error is not related to the Session
of the user, or the Session of the application to Service Desk...
My question is, what Session is related the error to? what other Session
exist beside the HttpSession? may the filter have is own session?
Thanks in
I have an Struts Application, with a filter for login.
I 'm using Solaris 5.8, Sun JDK 1.4.1_02, Tomcat 4.1.18.
The problem occurs after the night, when nobody use the application.
Then, in the first login we get the messages that appear after this. The
only way to reestablish the application
Greetings,
I created a web application developed and tested on tomcat 4.1.2 (Java
Web Services Devepoper Pack). When I deployed it in tomcat 4.1.17, I
started to get a few unexpected errors:
1) The mapping from the context root / to a start page (jsp) doesn't
work:
(web.xml)
servlet-mapping
I try with the 4.1.18 and it worked just fine. I try to use a new 4.1.17
in another machine and it works just fine too. So, I should presume that
my development 4.1.17 may corrupted with some conflicts in some packages
that I eventually put there.
I should know more about the packages in tomcat
Noel ; )
)
Thanks!!
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 1:46 AM
To: [EMAIL PROTECTED]
Subject: Re: JasperException
Well, it looks like it is b*tching about
Fix one problem only to be burdened with another : (
While this did get rid of the JasperException I was previously getting about
the String, I now get: org.apache.jasper.JasperException: For input string:
undefined. I am assuming this is due to the variables transactionTotal
and transactionId
Denise,
It would really help to see the bean class, with just method signatures, not
method bodies, and the form.
At least you aren't getting exjasperated, yet. ;-)
--- Noel
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
), restarted Tomcat, and know it seems to
work :)
Thanks.
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 12:33 PM
To: Tomcat Users List
Subject: RE: NEW JasperException
Denise
Keep on keepin' on! :)
John
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 12:48 PM
To: 'Tomcat Users List'
Subject: RES: NEW JasperException
Noel,
Believe it or not, as frustrated as I get, I am seriously
enjoying
Now also believe this ( or not ;) ). My problem just kind of went
away
I believe it. :-)
In any event, when debugging problems of this nature, where spelling and
case matter, it really is important to see the method signatures and the JSP
page (or at least the form and the property
I'm having a hard time figuring out what's causing this error so I thought
I'd post it to see if anyone has any ideas...
When my form page is called, I pass two variables in the URL. These two
variables are hidden within the form page. I need to maintain the value of
these two variables, along
Well, it looks like it is b*tching about 'FormBean.getTransactionID()'
returning a String []. Arrays aren't one of the types that JSP is required
to support automatic translation for.
Denise Mangano [EMAIL PROTECTED] wrote in message
There is not a trace of documentation ANYWHERE on this
problem!!!
Here is my error:
*
org.apache.jasper.JasperException: /sendMail.jsp(6,5)
jsp.error.badaction
*
Here is my very simple code:
*
html
head
titleJSP demo - mail with JavaBean/title
/head
body
jsp:usebean id=SendMail
%
SendMail.send();
%
don't you need to do this
SendMail:send
Nicholas Orr
-Original Message-
From: Zack Beatty [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 October 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Strange JasperException: jsp.error.badaction
There is not a trace
I get the message:
org.apache.jasper.JasperException: Unable to compile class for JSPThe
compiler has run out of memory. Consider using the -J-mxnumber command
line option to increase the maximum heap size
Can someone tell me step-by-step how to invoke the above mentioned command
line option,
Is this bug fixed yet! Looks like it is not with the release available at
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/bin/
Please make the latest binary available at the above site.
-
Chakradhar Tallam
Consultant
Object Consulting
Level 11 / 75
Hi all,
I am using Tomcat 4.0.3-LE-jdk14 and always getting following error, which
prevent a jsp page to display correctly:
org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.
An error occurred at line: 368 in the jsp file:
Hello -
I'm pretty sure this is a config problem but I can't figure out what's
wrong. I am having problems with the example JSPs, getting a
JasperException: Unable to compile class for JSP because the
xxx$jsp.java file isn't found in the work directory (e.g., c:
\tomcat404\work\Standalone
. (Don't forget {JAVA_HOME}\jre\lib\ext !)
- Which Version of tomcat do you use ?
-Ursprüngliche Nachricht-
Von: Pearsall, Kyle [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 20. Juni 2002 02:00
An: Tomcat (E-mail)
Betreff: JasperException: Unable to compile class for JSP
Now I
]]
Sent: Thursday, June 20, 2002 11:50 PM
To: Tomcat Users List
Subject: AW: JasperException: Unable to compile class for JSP
Your error message sounds as if pageContext.handlePageException()
is is defined to accept just an Instance of Exception not Throwable.
That could be caused be a jar file
understand
yet.
Your help is most appreciated.
Thank you,
Kyle P.
-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 5:27 PM
To: 'Tomcat Users List'
Subject: RE: JasperException: Unable to compile class for JSP
I think your answer is right
I'm trying to use a jsp page with a JavaBean and getting the
following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
The jsp page is very simple:
html
head
titleTEST PAGE/title
/head
body
jsp:useBean is=usr class=study.User /
Hello,
I'm trying to use a jsp page with a JavaBean and getting the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
The jsp page is very simple:
html
head
titleTEST PAGE/title
/head
body
jsp:useBean is=usr class=study.User /
%= usr.getId() %
/body
: JasperException
Date: Sun, 09 Jun 2002 15:01:19 -0300
Hello,
I'm trying to use a jsp page with a JavaBean and getting the following
error:
org.apache.jasper.JasperException: Unable to compile class for JSP
The jsp page is very simple:
html
head
titleTEST PAGE/title
/head
body
jsp:useBean is=usr class
the generated .java file and
compile the .java source from the command line. There must be
something different between the two machines.
From: Juan [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: JasperException
Date: Sun, 09 Jun 2002 15:01
At 19:23 9/6/2002 -0600, you wrote:
I ran into a similar problem with the jdk1.3.* under linux. My only
solution was to use the IBM JDK1.3.1. Compiles fine with that. Are you
running the exact same jdk on both machines, or is the one on XP different?
No. Both jdk are the same. The only
When I run tomcat 4.0 with jetspeed, I get the following error...
Any pointers on how to fix this???
org.apache.jasper.JasperException: Unable to compile class for JSP
C:\Program Files\Apache Group\Apache Tomcat
4.0\work\localhost\jetspeed\index$jsp.java:65: Incompatible type for method.
]
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 7:46 PM
Subject: RE: JasperException / classpath(?) problem
Where did you put NumberGuessBean.class ??
It must go into WEB-INF/classes/num/ (because it is in package named
num)
-Original Message-
From: howard fraser [mailto:[EMAIL
I wonder if anyone can shed any light on the following - I have looked
through the archived messages, but to no avail.
I have tomcat 3.2.2 installed on Windows 2000 SP2 with jdk1.3.1. I do not
have a CLASSPATH environment variable set. When I start tomcat it first
says
Using CLASSPATH:
Where did you put NumberGuessBean.class ??
It must go into WEB-INF/classes/num/ (because it is in package named num)
-Original Message-
From: howard fraser [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 7:29 AM
To: [EMAIL PROTECTED]
Subject: JasperException / classpath
, 2001 7:46 PM
Subject: RE: JasperException / classpath(?) problem
Where did you put NumberGuessBean.class ??
It must go into WEB-INF/classes/num/ (because it is in package named
num)
-Original Message-
From: howard fraser [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 7:29 AM
Hi everyone!
does anyone know what would cause this exception to be thrown?
org.apache.jasper.JasperException: object is not an instance of
declaring class
I'm trying to call a method of a bean on a page using a scritplet :
%=tmpcomp2.getDescription()%
The bean is instantiated on the page vi the
this solution!
Troy
-Original Message-
From: Troy Landers
Sent: Wednesday, January 10, 2001 10:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: bizarre JasperException on Solaris box
But if method size was the problem then shouldn't it blow up when I try to
compile it from the command line as well?
to security restrictions on the Solaris
box. The original message follows:
We're currently running Stronghold Tomcat 3.1 on a Solaris 2.7 box and are
running into a bizarre JasperException (see below) where certain large
PROTECTED]]
Sent: Wednesday, January 10, 2001 12:46 AM
To: '[EMAIL PROTECTED]'
Subject: AW: bizarre JasperException on Solaris box
If William Brodgen's assumption, that you are hitting a size
limitation in javac for a single method, is right, there are
two things that might help:
- use a more
waiting to move to jsp 1.2 with include/flush=false, to
get away from this problem (ie can have almost a method call of JSP).
Ken.
[EMAIL PROTECTED] on 10/01/2001 10:22:32
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Ken X Horn)
Subject: RE: bizarre JasperException
Hi,
We're currently running Stronghold Tomcat 3.1 on a Solaris 2.7 box and are
running into a bizarre JasperException (see below) where certain large pages
won't compile. This problem only occurs on our staging Solaris machines and
never on any of our NT development machines. Further when I
What JDK (1.2/1.2.2/1.3) are you using and in which version?
java -version
-Ursprngliche Nachricht-
Von: Troy Landers [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 9. Januar 2001 07:42
An: '[EMAIL PROTECTED]'
Betreff: bizarre JasperException on Solaris box
nks,
-Jeff
[EMAIL PROTECTED] on 01/09/2001 06:00:04 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: bizarre JasperException on Solaris box
Hi,
We're currently running Stronghold Tomcat 3.1 on a Solaris 2.7 box and are
running into a bizarre JasperException (see be
Jeffry Guttadauro wrote:
Hi, Troy.
Unfortunately, I don't have a solution for you. But, I am having the
same exact problem here on long, complex pages with a configuration of
Stronghold Tomcat 3.2 (using mod_jk) on Solaris 2.6. The app has a lot of
long, complex pages though, so
Here is an update to my problem. Someone please help me with this!
Upon further development on this project I tried adding a new form with
button to the "menu". Again I got jasper.introspection error without any
explanation. It appears introspection is failing on submission of a
form.
I have a
original -
De: Robert Wohleb [SMTP:[EMAIL PROTECTED]]
Enviada em: tera-feira, 9 de janeiro de 2001 16:03
Para: [EMAIL PROTECTED]
Assunto: Re: JasperException from introspection?
Here is an update to my problem. Someone please help me
: bizarre JasperException on Solaris box
Jeffry Guttadauro wrote:
Hi, Troy.
Unfortunately, I don't have a solution for you. But, I am having the
same exact problem here on long, complex pages with a configuration of
Stronghold Tomcat 3.2 (using mod_jk) on Solaris 2.6. The app has a lot
original -
De: Robert Wohleb [SMTP:[EMAIL PROTECTED]]
Enviada em: tera-feira, 9 de janeiro de 2001 16:03
Para: [EMAIL PROTECTED]
Assunto: Re: JasperException from introspection?
Here is an update to my problem. Someone please help me
16:39
Para: [EMAIL PROTECTED]
Assunto: Re: RES: JasperException from introspection?
I specify the bean with scope=session in all pages. All pages name the
bean exactly the same. All jsp files are either in / (like login.jsp) or
/process/ or /interface/. Is this what you
Message-
From: Jeffry Guttadauro [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 8:19 AM
To: [EMAIL PROTECTED]
Subject: Re: bizarre JasperException on Solaris box
Hi, Troy.
Unfortunately, I don't have a solution for you. But, I am having the
same exact problem here on long
An: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Betreff: RE: bizarre JasperException on Solaris box
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Please help me. I am not sure what is causing this, but from what I can
tell it is an error during introspection.
In the shell I am running the server in, I get
2001-01-05 04:58:27 - Ctx( /custdb ): JasperException: R( /custdb +
/process/main.jsp + null
Hi,
I'm developing web-based email using JavaMail 1.1 and JSP + Java
Beas as its interface, implementing simple stuff like check mail, view,
reply and delete. I'm using Tomcat 3.1 with JDK1.3 on Win98. Everything
works fine except two parts, my reply.jsp and delete.jsp. It works fine
on and off,
86 matches
Mail list logo