W3C home > Mailing lists > Public > public-qa-dev@w3.org > July 2007

NoClassDefFoundError is driving me insane!

From: Sheppard, Eric <es1482@att.com>
Date: Fri, 6 Jul 2007 15:23:44 -0500
Message-ID: <EF7799D0A62B4E4FA63C1376734A0BA302D1A33F@brexc48p>
To: <public-qa-dev@w3.org>
I would very much like to get the CSS Validator working on my local
machine command line but Java is ignoring all class paths! Java is JDK
1.5.0_10 on a Unix host.

# cd {dir containing jars}
# export
# java -jar css-validator.jar

Exception in thread "main" java.lang.NoClassDefFoundError:

I have tried everything I can think of: absolute path names, inline
classpath, direct CssValidator reference from java, using JUST the
jigsaw.jar where the ProtocolException.class is located, and still the

I spun my wheels most of the day trying to separate the minimal "build
it from scratch" instructions and incorporate the downloaded jars into a
Tomcat server on a Windows XP host (JDK 1.6.0_02) to no avail. All I
need is to get it working on the command line, then I'll figure out the
rest to make it run under some servlet engine. 

What am I missing here besides a basic clue?

All helpful suggestions appreciated.


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623
Received on Saturday, 7 July 2007 20:04:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:27 UTC