Server Env:
Apache Tomcat 4.1.30
JVM 1.4.2_04-b05
Linux
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Catalina.out error message:
Error running /usr/java/j2sdk1.4.2_04/bin/javac compiler
at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeEx
ternalCompile(DefaultCompilerAdapter.java:489)
at
On Thu, Sep 30, 2004 at 11:36:40AM +0300, A Leg wrote:
: org.apache.jasper.JasperException: Unable to compile class for JSP
: java.lang.SecurityException: class
org.apache.tools.ant.taskdefs.optional.IContract's signer information does not match
signer information of other classes in the same
Hi
Probably because JWSDP 1.4 force me to use ant of them distrib which is
1.5xx
and some others elements I use need 1.6.1 or more. So I have both
releases install 1.6.1is in my classpath and jwsdp ant is set in the
setenv.sh script.
This must generate a conflict.
I probably have to swictch to
QM, thanks for the response but I decided to start from scratch using some
notes that I took down the last time I got this working. I've gotten a
lot further this time but I'm having a small problem that I'm about to
post to the list.
Chris
: Binary file
:
/usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo/surge.foo.net/_/examples/jsp/num/numguess_jsp.java:7:
: package num does not exist
: import num.NumberGuessBean;
Where is the class file NumberGuessBean, or the JAR file that contains
it?
-QM
--
software -- http://www.brandxdev.net
tech
=session/
[EMAIL PROTECTED]:/usr/local/applications/tomcat-4.1.30$
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:06 PM
To: Tomcat Users List
Subject: Re: unable to compile class for JSP
:
/usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo
sorry, I mean to add to that last email, speaking to Chris:
This is where you *should* find them.
;)
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:06 PM
To: Tomcat Users List
Subject: Re: unable to compile class for JSP
:
/usr/local
I don't really know anything about Java, I'm setting this up to get Citrix
NFuse working, which I have done before in the past. This is basically a
default installation of Tomcat, the only things I've changed are slight
modifications to server.xml, and I created the conf/jk/workers.properties
Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:06 PM
To: Tomcat Users List
Subject: Re: unable to compile class for JSP
:
/usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo/surge.foo.n
et/_/examples/jsp/num/numguess_jsp.java:7:
: package num does not exist
On Wed, May 12, 2004 at 03:18:45PM -0400, Chris Purcell wrote:
: Binary file webapps/examples/WEB-INF/classes/num/NumberGuessBean.class
So far, so good.
Next step: what are the perms on the class file, and all dirs leading up
to it? Is everything accessible to the tomcat user?
The short
Maybe you can provide a copy of the JSP?
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
This message
note: using Tomcat 5.0.19
my files: Test.jsp
htmlbody
h2Welcome/H2
BR
h1
FORM TYPE=POST ACTION=web_search.SServlet
INPUT type=submit name=operation value=search
/FORM
/H1
/body/html
and Search.jsp
htmlhead
titleSearch page/TITLE
body
h2Welcome/H2
BR
h1
FORM TYPE=POST ACTION=web_server.SServlet
can correct and delete the original
email. Thank you.
:: -Original Message-
:: From: Linda Smith [mailto:[EMAIL PROTECTED]
:: Sent: Sunday, April 04, 2004 11:06 PM
:: To: Tomcat Users List
:: Subject: RE: Unable to compile class for JSP
::
:: note: using Tomcat 5.0.19
::
:: my files
http://www.mail-archive.com/[EMAIL PROTECTED]/msg101489.html
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 6:09 PM
To: [EMAIL PROTECTED]
Subject: Unable to compile class for JSP
Tomcat 5.0.16
I keep getting this error about every
Looks to me like it can't find the JSP file that it's trying to compile.
Perhaps something is miss-configured? Or the file is an empty file?
--mikej
-=--
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Richardson, Robert [mailto:[EMAIL PROTECTED]
Sent: Friday, October
: Unable to compile class for JSP?
Looks to me like it can't find the JSP file that it's trying to
compile.
Perhaps something is miss-configured? Or the file is an empty file?
--mikej
-=--
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Richardson, Robert [mailto:[EMAIL
JAVA_HOME set as /usr/java1.2/bin.
Robert
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 2:12 PM
To: Tomcat Users List
Subject: RE: Unable to compile class for JSP?
Howdy,
Look at the tomcat server log for exceptions.
Activision -- I love
Goto java.sun.com and download the latest JDK.
-Original Message-
From: Richardson, Robert [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 5:42 PM
To: 'Tomcat Users List'
Subject: RE: Unable to compile class for JSP?
I looked at my localhost_log.2003-10-17.txt and it showed
:42 PM
To: 'Tomcat Users List'
Subject: RE: Unable to compile class for JSP?
I looked at my localhost_log.2003-10-17.txt and it showed the exception
below:
Exception compiling Cannot use classic compiler, as it is not available.
A common solution is to set the environment variable
also take this time to upgrade to the latest jdk.
--mikej
-=--
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Richardson, Robert [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 1:42 PM
To: 'Tomcat Users List'
Subject: RE: Unable to compile class for JSP?
I looked
Dave
What is the request you send to Tomcat, i.e. what is this JSP supposed to
accomplish?
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
::
Are you running Tomcat as a service? If so, edit the registry and change
the path of the jvm.dll to the one in the server directory of your jsdk
installation.
-Original Message-
From: Dave Stoker [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 9:22 PM
To: [EMAIL PROTECTED]
John, Schalk, all,
I had copied a servlet jar file from JRun to the Tomcat/shared/lib
directory. Once this was removed the JSPs compile! Moral: JRun and Tomcat
are very different.
Thanks for the replies.
Dave
Hi, After reading the archives I see this is not an uncommon error. I've
tried a
Are you using ant for your project? I think
the reload task of apache using ant is not working
the way it should.
--- Susanne Munker [EMAIL PROTECTED] wrote:
Hello,
I´m a newbie here and please excuse my english
I have a problem with one application, that works
fine under 4.0.6,
no, I don´t use Ant, but I found some new facts about my problem
- there are some .jsp files under webapps/vorfahrt-test/WEB-INF/jsp and
the first line in this .jsp files is
%@ page language=java import=de.akdb.ok.vorfahrt.*, java.util.* %
If I delete this line it works, I think the jar File
Hi -
This might help:
http://jakarta.apache.org/tomcat/faq/misc.html#compile
and
http://jakarta.apache.org/tomcat/faq/classnotfound.html (especially all
of the threads relating to packageless classes)
John
Susanne Munker wrote:
Hello,
I´m a newbie here and please excuse my english
I
are directly under
webapps/vorfahrt-test/WEB-INF/lib)
But why it works under 4.0.6???
susanne
ATTACHMENT part 2 message/rfc822
Date: Sun, 10 Aug 2003 08:59:43 -0700 (PDT)
From: Jesús Antonio Sánchez A.
Subject: Re: unable to compile class for JSP Upgrade 4.0 to 4.1
To: Tomcat Users List
starting with JDK 1.4 I believe your bean have to be in a package
Filip
-Original Message-
From: Aaron Bennett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 12:32 PM
To: [EMAIL PROTECTED]
Subject: Unable to compile class for JSP
Hi,
I've just installed Tomcat 4.18 on my
The common answer I've seen to this, and what worked for me was placing the
class in a package.
Place the class in C:\Tomcat4\webapps\MyApp\WEB-INF\classes\mypackage\beans
In your class file you need the statement: package mypackage.beans;
In your JSP page you should have %@ page
'
Subject: RE: Unable to compile class for JSP
The common answer I've seen to this, and what worked for me was placing the
class in a package.
Place the class in C:\Tomcat4\webapps\MyApp\WEB-INF\classes\mypackage\beans
In your class file you need the statement: package mypackage.beans;
In your JSP
Oops, thanks - I forgot that :)
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 3:47 PM
To: Tomcat Users List
Subject: RE: Unable to compile class for JSP
and int your
To: 'Tomcat Users List'
Subject: RE: Unable to compile class for JSP
The common answer I've seen to this, and what worked for me was placing the
class in a package.
Place the class in C:\Tomcat4\webapps\MyApp\WEB-INF\classes\mypackage\beans
In your class file you need the statement: package
It may be looking for tools.jar.
Stick a pointer to it in a CLASSPATH and see what happens.
At 06:12 PM 1/6/2003 -0600, you wrote:
I have just installed Tomcat 4.1.18 under Windows 2000 (using Java JDK
1.4.0). When I try to run the examples I get
org.apache.jasper.JasperException: Unable to
I posted the error message.. see below. Just because it worked for you, it
should work for everyone? Also Tomcat gives out ambigious error message: An
error occurred at line: -1 in the jsp file: null
Line number -1!? jsp file: null!? It's like Tomcat doesn't know what it's
dealing with. I tried
It doesn't matter. Any JSP gives the same error. I tried the examples that
come with Tomcat also and same problem. I even tried Windows 2000 and XP and
same problem. I going to believe that Tomcat does not work in Windows and
wonder how others got it to work.
Salama
PS: I am a new user and I
salama , what is your problem ??
i have windows xp, and run the stuff using it
Salama hussein [EMAIL PROTECTED] wrote:It doesn't matter. Any JSP gives the same
error. I tried the examples that
come with Tomcat also and same problem. I even tried Windows 2000 and XP and
same problem. I going
Exactly what did the jsp contain?
I mean the code you put in. Post it on the list and let everyone have a
look see.
Salama hussein wrote:
I am getting the error below in Windows 2000 SP2, Tomcat 4.1.12 and
JDK1.4 for any JSP program including the examples. I have reinstalled
Tomcat
-Original Message-
From: Andrew Rodwell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:31 AM
To: Tomcat Users List
Subject: Unable to compile class for JSP
Hi,
jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine /
when it is run I get the
your JSP page does not find the class in the classpath.
you must import it in the beginning of the page.
do something like this :
%@ page import=fwLine %
I think that should work ...
hope it helps
[EMAIL PROTECTED]
-Original Message-
From: Andrew Rodwell [mailto:[EMAIL PROTECTED]]
see intermixed
Andrew Rodwell [EMAIL PROTECTED] on 02/27/2002 10:30:37 AM
Please respond to Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject: Unable to compile class for JSP
Hi,
I am trying to use a bean in my jsp.
jsp:useBean id='lineB'
Sorry wrong subject
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
2/27/02 10:00:37 PM, Andrew Rodwell [EMAIL PROTECTED] wrote:
Hi,
I am trying to use a bean in my jsp.
jsp:useBean id='lineB' scope='page' class='fwLine' type=fwLine /
when it is run I get the following.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred
In fwLine.java (assuming you wrote the class), there needs to be a package
line for the class at the top of the file something like:
package com.mycompany.myproject.fwLine ;
And this has to be reflected in the path under WEB-INF/classes to your
fwLine.class file as in:
If you use beans that are not in a Java package, you have to explicitly
import them. When your bean is in a package and you use the fully
qualified name (strongly recommended), this is not needed.
Craig
On Fri, 10 Aug 2001, [EMAIL PROTECTED] wrote:
BeanTest.jsp
Add here: %@
Tried your files in Tomcat 3.3 and Tomcat 3.2.3 as described
and they worked fine for me. Please supply more of the error
message that gives what the compile error was.
Larry
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 10, 2001 12:33 PM
Hi again,
I have fixed this problem.
After installation I have removed jaxp.jar and parser.jar because I use
j2ee.
Then I copy 2jee.jar to tomcats lib - it was my mistake.
Tomcat was starting, but I got this exception.
So, then I remove 2jee.jar from tomcats lib and put this jar to classpath
47 matches
Mail list logo