Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
Ok. I won't pretend to know all the ramifications to using this
ClassFinder class. To my limited understanding, it's a classloader
working without knowledge of Tomcat's classloade
,data,0, data.length);
}
}
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: December 7, 2005 7:47 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
> ...and that servlet-api.jar from tomcat i
sping this
classloader thing, apparently =)
Thanks for the help, all!
- Original Message -
From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, December 07, 2005 9:01 PM
Subject: Re: Question concerning java.lang.NoClassDefFoundErro
BINGO!
freemarker.jar does not belong in the system classloader. It belongs in
WEB-INF/lib.
[ Quick rule of thumb - putting a lib in java/lib/ext will cause problems 99%
of the time. ]
-Tim
John Poley wrote:
And as for me, since we seem to be having similar issues, I cut out eclipse
> javax/servlet/ServletContext
> >
> >
> >> Hello David,
> >> I included all jar & zip files on my computer, including j2ee.jar and
> >> I'm
> >> still having the problem.
> >> I have just noticed a weird behaviour thoug
iginal Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: December 7, 2005 7:47 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
> ...and that servlet-api.jar from tomcat is in the path.
You wouldn't happen to be m
too far. Any more ideas
would be appreciated!
- Original Message - From: "Armand Rock" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, December 06, 2005 12:44 PM
Subject: RE: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
> From: John Poley [mailto:[EMAIL PROTECTED]
> Subject: Re: Question concerning
> java.lang.NoClassDefFoundError: javax/servlet/ServletContext
>
> I even went so far as to start with a machine with
> no development tools on it, downloading just the
> elements I require
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: December 6, 2005 11:57 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
I take it you also included j2ee.jar in that search?
--David
Armand Rock wrote:
NoClassDefinition errors are normally thrown if the class or JAR isn't
in the classpath, the only other time this happens is when the
ClassLoader isn't able to load the class path because an exception is
thrown on any static initialisers.
(This is conjecture...) It may be the ServletContext ha
ROTECTED]
Sent: December 6, 2005 11:57 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
I take it you also included j2ee.jar in that search?
--David
Armand Rock wrote:
>Hi,
>I'm getting the same error. I searched m
omcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Unknown Source)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: December 6, 2005 6:30 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundEr
.lang.Thread.run(Unknown Source)
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: December 6, 2005 6:30 AM
To: Tomcat Users List
Subject: Re: Question concerning java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
See - http://tomcat.apache.org/faq/classnotf
See - http://tomcat.apache.org/faq/classnotfound.html
Odds are you have your own servlet-api.jar somewhere in the webapp or system
classpath and that is conflicting with the one in common/lib (installed by
tomcat)
-Tim
John Poley wrote:
Please forgive my intrusion if this is not the proper
14 matches
Mail list logo