FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development Java

LinkBack Thread Tools
Old 05-23-2008, 01:24 PM
Andrew Overholt
Default Fedora 9: NoClassDefFoundError (LogFactory) starting Tomcat from Fedora Eclipse


* Greg Johnson <gregjo@yahoo.com> [2008-05-22 16:33]:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
> [...]
> Now here's where it got really interesting. Since it was complaining
> about LogFactory, I located it inside
> /usr/share/tomcat5/bin/commons-logging-api.jar
> So, just for grins, I unjar'ed the contents of:
> /usr/share/tomcat5/bin/bootstrap.jar
> and
> /usr/share/tomcat5/bin/commons-logging-api.jar
> Then I jar'ed all of the contents of those two jar files back into:
> /usr/share/tomcat5/bin/bootstrap.jar
> And now I can launch Tomcat from Fedora Eclipse just fine.
> This is obviously a classpath issue....but whose?

This sounds like something is different with the packaging of the tomcat
jars and how the Sysdeo plugin expects them to be. You should file a
bug against the tomcat package to track this, but you could also email
the JPackage project since the tomcat RPMs in Fedora come from there
(AFAIK). In fact, I recall reading something on jpackage-discuss about
tomcat jar contents a few months ago ... perhaps this is related.


fedora-devel-java-list mailing list

Thread Tools

All times are GMT. The time now is 11:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org