Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » ClassNotFoundException: org.apache.catalina.core.StandardServer
ClassNotFoundException: org.apache.catalina.core.StandardServer [message #116532] Wed, 12 November 2003 16:12 Go to next message
Eclipse UserFriend
Originally posted by: jhellier.nmcourts.com

I am getting this exception

ClassNotFoundException: org.apache.catalina.core.StandardServer

whenever I try to start up a Tomcat app from Eclipse. Everything
was working fine until I upgraded the Struts version from 1.0 to 1.1.

Tomcat 4.1.24
Struts 1.1
Eclipse 2.1
JDK 1.4.1
Red Hat 9.0

I have tried all sorts of jar file configs. StandServer is
in the server sub directory and I tried moving it to the common
subdirectory among other places. No luck. It is very strange that
it works fine with Struts 1.0 and dies with Struts 1.1.

Any suggestions would be greatly appreciated.

Thanks

John
Re: ClassNotFoundException: org.apache.catalina.core.StandardServer [message #116672 is a reply to message #116532] Thu, 13 November 2003 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: default.sysdeo.com

Do you use the Sysdeo Tomcat plug-in ?
If yes, did you check some projects in Tomcat preference page ?
If those projects are Tomcat projects you should not check them, this is only for Java projects used by Tomcat projects.
Your problem is an XML Digester problem. Your Java project certainly contains Jakarta Digester (for instance in struts.jar).
Ckecking it in the Tomcat preferences page will add it to Tomcat classpath, unfortunately it will replaced Tomcat own digester version (In fact it is loaded at the wrong classloader level so it doesn't see classes in catalina.jar).
The solution is to use a better way of referencing Java projects from Tomcat projects, this better way is the DevLoader bundles with the plug-in. Using the DevLoader, classes and jar in your Java project will be loaded at the same classloader level than your Tomcat project classes.

Bruno

John wrote:
> I am getting this exception
>
> ClassNotFoundException: org.apache.catalina.core.StandardServer
>
> whenever I try to start up a Tomcat app from Eclipse. Everything
> was working fine until I upgraded the Struts version from 1.0 to 1.1.
>
> Tomcat 4.1.24
> Struts 1.1
> Eclipse 2.1
> JDK 1.4.1
> Red Hat 9.0
>
> I have tried all sorts of jar file configs. StandServer is
> in the server sub directory and I tried moving it to the common
> subdirectory among other places. No luck. It is very strange that
> it works fine with Struts 1.0 and dies with Struts 1.1.
>
> Any suggestions would be greatly appreciated.
>
> Thanks
>
> John
>
>
Re: ClassNotFoundException: org.apache.catalina.core.StandardServer [message #116710 is a reply to message #116672] Thu, 13 November 2003 17:15 Go to previous message
Eclipse UserFriend
Originally posted by: jhellier.nmcourts.com

Bruno,

Yes, I do use the Sysdeo Tomcat plugin. So far it works quite well.

Yes, unchecking the project solves the problem.

Thank you very much!!

John

Bruno Leroux wrote:

> Do you use the Sysdeo Tomcat plug-in ?
> If yes, did you check some projects in Tomcat preference page ?
> If those projects are Tomcat projects you should not check them, this is
only for Java projects used by Tomcat projects.
> Your problem is an XML Digester problem. Your Java project certainly
contains Jakarta Digester (for instance in struts.jar).
> Ckecking it in the Tomcat preferences page will add it to Tomcat classpath,
unfortunately it will replaced Tomcat own digester version (In fact it is
loaded at the wrong classloader level so it doesn't see classes in
catalina.jar).
> The solution is to use a better way of referencing Java projects from Tomcat
projects, this better way is the DevLoader bundles with the plug-in. Using the
DevLoader, classes and jar in your Java project will be loaded at the same
classloader level than your Tomcat project classes.

> Bruno

> John wrote:
> > I am getting this exception
> >
> > ClassNotFoundException: org.apache.catalina.core.StandardServer
> >
> > whenever I try to start up a Tomcat app from Eclipse. Everything
> > was working fine until I upgraded the Struts version from 1.0 to 1.1.
> >
> > Tomcat 4.1.24
> > Struts 1.1
> > Eclipse 2.1
> > JDK 1.4.1
> > Red Hat 9.0
> >
> > I have tried all sorts of jar file configs. StandServer is
> > in the server sub directory and I tried moving it to the common
> > subdirectory among other places. No luck. It is very strange that
> > it works fine with Struts 1.0 and dies with Struts 1.1.
> >
> > Any suggestions would be greatly appreciated.
> >
> > Thanks
> >
> > John
> >
> >
Previous Topic:Eclipse won't compile
Next Topic:Dialog on Uncaught Exception ?
Goto Forum:
  


Current Time: Fri Jul 18 13:02:34 EDT 2025

Powered by FUDForum. Page generated in 0.07121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top