On 9/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: David Delbecq [mailto:[EMAIL PROTECTED]
> > Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet
> >
> > Check also it's neither in shared/lib and that there is no CLASSP
> From: Ghodmode [mailto:[EMAIL PROTECTED]
> Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet
>
> I'm not using WAR files. I'm just putting all of the files
> in the necessary locations already "exploded". Is this significant?
Perhaps. E
On 9/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> ...
David D already pointed out the likely cause of the problem.
>
> - Chuck
>
Unfortunately, David's idea wasn't a solution for me. There aren't any
files in my WEB-INF/lib directory.
I only created this HelloServlet to eliminate
> From: David Delbecq [mailto:[EMAIL PROTECTED]
> Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet
>
> Check also it's neither in shared/lib and that there is no CLASSPATH
> defined (tomcat handles all by itself classpath).
There wouldn't be a shared/
Check also it's neither in shared/lib and that there is no CLASSPATH
defined (tomcat handles all by itself classpath).
David Delbecq a écrit :
Check you didn't add servlet-api to your webapp classpath. The
servlet-api must *not* be present in WEB-INF/lib
Ghodmode a écrit :
I've had some proble
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet
>
> Is servlet-api.jar in $CATALINA_HOME/common/lib
As clearly stated by the OP, he's using Tomcat 6 and servlet-api.jar is
in $CATALINA-HOME/lib, exactly where
On 9/4/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> Is servlet-api.jar in $CATALINA_HOME/common/lib
>
I've see reference to it on some forums, but there's no "common" directory
in my Tomcat installation.
-- Vince
Is servlet-api.jar in $CATALINA_HOME/common/lib
M--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain information
that is pr
Thanks for your reply David.
For this servlet there's nothing in WEB-INF/lib. If it was a standalone
Java app, I guess the CLASSPATH would definitely be the first thing to
check. Is there a way to check the classpath that a servlet is using when
it's executed by Tomcat's VM?
Thank you,
Vinc
Check you didn't add servlet-api to your webapp classpath. The
servlet-api must *not* be present in WEB-INF/lib
Ghodmode a écrit :
I've had some problems loading servlets, so I tried a basic HelloWorld just
to make sure everything was working.
java.lang.NoClassDefFoundError: javax/servlet/http/
it should work without that setting assuming that tomcat picks up the
file setclasspath.sh correctly,
the reason I mentioned it is cause the sunVM doesn't have a
gnu.java.lang.MainThread class, so I would suspect that you are not
running the VM you think you are running. Of course, I know very l
Edoardo Panfili wrote:
Filip Hanik - Dev Lists wrote:
if you are running the Sun VM, why is this in your stack trace?
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
The stack is the one that Tomcat has print before the "remove" of gcj.
But the error is still here also after the
Filip Hanik - Dev Lists wrote:
if you are running the Sun VM, why is this in your stack trace?
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
The stack is the one that Tomcat has print before the "remove" of gcj.
But the error is still here also after the "remove".
my guess is
if you are running the Sun VM, why is this in your stack trace?
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
my guess is that you forgot to do this
export PATH=$JAVA_HOME/bin:$PATH
in catalina.sh
Filip
Edoardo Panfili wrote:
Filip Hanik - Dev Lists wrote:
try running a diffe
Filip Hanik - Dev Lists wrote:
try running a different VM, like the Sun VM, this could be a bug in the
VM you are running.
I am runnig Sun JVM 1.5.0_06
I have removed libcgj at 16:18
I did a complere reboot at 16:20
at 16:48 I have a log of this error in localhost.2006-05-02.log
Edoardo
try running a different VM, like the Sun VM, this could be a bug in the
VM you are running.
Filip
Edoardo Panfili wrote:
Edoardo Panfili wrote:
Marc Farrow wrote:
there is somethings wrog in my develope/deploy/me system.
I'll begin from scratch.
After a fresh installation the problem is still
Edoardo Panfili wrote:
Marc Farrow wrote:
there is somethings wrog in my develope/deploy/me system.
I'll begin from scratch.
After a fresh installation the problem is still here (but not after all
restarts).
sometimes Tocat throws this exception
java.lang.NoClassDefFoundError: javax/servlet/ht
Marc Farrow wrote:
It looks like you found the next problems. On your ls command it is not
showing the Ricerca class file. So you must be missing resources when you
migrated over.
On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote:
Marc Farrow wrote:
> I do not doubt that. However, depend
It looks like you found the next problems. On your ls command it is not
showing the Ricerca class file. So you must be missing resources when you
migrated over.
On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote:
Marc Farrow wrote:
> I do not doubt that. However, depending on what O.S. you
Marc Farrow wrote:
I do not doubt that. However, depending on what O.S. you are using you
need
to check your JAVA_HOME environment entry or even windows registry.
export JAVA_HOME=/opt/jdk/
(jdk is a simboilik link to the 1.5 jdk folder)
Tomcat now says "no Class definition found" regarding
I do not doubt that. However, depending on what O.S. you are using you need
to check your JAVA_HOME environment entry or even windows registry.
On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote:
Marc Farrow wrote:
> This seems like the classic "you are using a java JRE versus a java
JDK".
>
Marc Farrow wrote:
This seems like the classic "you are using a java JRE versus a java JDK".
I am using jdk1.5.0_06
edoardo
--
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766
-
To unsubscribe, e-ma
This seems like the classic "you are using a java JRE versus a java JDK".
On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote:
I did some search on google but seems that my situation is not the same
I have a very simple webapp, (no lib directory in WEB-INF) in a fresh
installation of Tomcat
23 matches
Mail list logo