W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2008

Re: CSS-validator did not rum

From: Damien B <night.kame@gmail.com>
Date: Sun, 16 Nov 2008 16:02:57 +0100
Message-ID: <49203621.7090000@gmail.com>
To: TAKAHASHI Makoto <hobbit_mak@yahoo.co.jp>
CC: css-validator <www-validator-css@w3.org>

Hello,

you need to add commons-collection 3 from
http://commons.apache.org/downloads/download_collections.cgi

Damien B

TAKAHASHI Makoto wrote:
> As http://jigsaw.w3.org/css-validator/DOWNLOAD.html says,
> I checked out css-validator.
> 
> I installed Jigsaw 2.2.4 to Windows XP.
> Old Css Validator(2002) works on this Jigsaw.
> 
> I installed ANT 1.7.1.
> 
> I tried to compile css-validator by ANT.
> But build failed. Class is missing.
> 
> I downloaded 
> 
> tagsoup-1.2.jar
> velocity-1.5.jar
> xerces.jar
> xercesImpl.jar
> xml-apis.jar
> commons-lang-2.4.jar
> 
> to C:\Jigsaw\classes directory.
> 
>   I added lines below to build.xml.
> 
>   <property name="app.name" value="css-validator"/>
>   <property name="jar.file" value="${app.name}.jar"/>
>   <property name="war.file" value="${app.name}.war"/>
> +  <property name="xercesImpl.lib"
> value="C:\Jigsaw\classes\xercesImpl.jar" /> 
> +  <property name="xml-apis.lib"
> value="C:\Jigsaw\classes\xml-apis.jar" /> 
> +  <property name="velocity.lib"
> value="C:\Jigsaw\classes\velocity-1.5.jar" /> 
> +  <property name="commons-lang.lib"
> value="C:\Jigsaw\classes\commons-lang-2.4.jar" /> 
> +  <property name="tagsoup.lib"
> value="C:\Jigsaw\classes\tagsoup-1.2.jar" /> 
> 
> 
> 	<path id="build.class.path">
> 	  <pathelement location="${servlet.lib}" /> 
> 	  <pathelement location="${jigsaw.lib}" /> 
> 	  <pathelement location="${xercesImpl.lib}" /> 
> +	  <pathelement location="${xml-apis.lib}" /> 
> +	  <pathelement location="${velocity.lib}" /> 
> +	  <pathelement location="${commons-lang.lib}" /> 
> +	  <pathelement location="${tagsoup.lib}" /> 
> 	</path>
> 
> But error messages was issued.
> 
> C:\Jigsaw\Jigsaw\WWW\servlet\css-validator>Java
> org.w3c.css.css.StyleSheetCom ht
> tp://www.w3.org/
> org.w3c.css.css.XMLStyleSheetHandler: couldn't load
> catalog.xml
>   File
> ""jar:file:/C:/Jigsaw/Jigsaw/WWW/servlet/css-validator/css-validator.jar!
> /org/w3c/css/util/xml/catalog.xml"" not found.
> org.w3c.css.css.StyleSheetGeneratorHTML: couldn't load
> format properties
>   java.io.FileNotFoundException:
> \file:\C:\Jigsaw\Jigsaw\WWW\servlet\css-validat
> or\css-validator.jar!\org\w3c\css\css\format.properties (
> ファイル名、ディレクト
> リ名、またはボリューム ラベルの構文が間違っています。)
> org.w3c.css.css.StyleSheetGeneratorHTML: couldn't load
> URLs properties
>   java.io.FileNotFoundException:
> \file:\C:\Jigsaw\Jigsaw\WWW\servlet\css-validat
> or\css-validator.jar!\org\w3c\css\css\urls.properties (
> ファイル名、ディレクトリ
> 名、またはボリューム ラベルの構文が間違っています。)
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/co
> llections/ExtendedProperties
>         at
> org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.ja
> va:164)
>         at
> org.apache.velocity.runtime.RuntimeSingleton.<clinit>(RuntimeSingleto
> n.java:91)
>         at
> org.apache.velocity.app.Velocity.getTemplate(Velocity.java:503)
>         at
> org.w3c.css.css.StyleSheetGenerator.<init>(StyleSheetGenerator.java:1
> 61)
>         at
> org.w3c.css.css.StyleSheetCom.htmlRequest(StyleSheetCom.java:63)
>         at
> org.w3c.css.css.StyleSheetCom.main(StyleSheetCom.java:236)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.collections.Exte
> ndedProperties
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at
> java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown
> Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at
> sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown
> Source)
>         ... 6 more
> 
>                                      Makoto Takahashi
>                               http://hobbit.ddo.jp
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
> 
> 
Received on Sunday, 16 November 2008 15:05:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:21 GMT