This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I was trying to build the css-validator using ant, but got an error message showing that an import statement is missing. When I added the import statement, everything worked. The file without the import statement was: StyleSheetCom.java in: 2002\css-validator\org\w3c\css\css and the missing statement was: import javax.servlet.http.HttpServletResponse; (required by the statement at row 267)
Wrong bugfix was done only removing the import, but a useless call to HttpServletResponse was remaining. Fixed now by Sijtsche
Mandrake Linux 9.2 / j2sdk1.4.1 ant build : [1022 cdn@emperor css-validator]$ /home3/ant/bin/ant build Buildfile: build.xml build: [javac] Compiling 816 source files to /home0/cdn/2002/css-validator/css-validator [javac] /home0/cdn/2002/css-validator/org/w3c/css/css/XMLStyleSheetHandler.java:44: package org.w3c.www.mime does not exist [javac] import org.w3c.www.mime.MimeType; [javac] ^ [javac] /home0/cdn/2002/css-validator/org/w3c/css/servlet/CssValidator.java:28: package javax.servlet does not exist [javac] import javax.servlet.ServletException; [javac] ^ or I get 2002/css-validator [1031 cdn@emperor css-validator]$ java org.w3c.css.css.StyleSheetCom Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/css/css/StyleSheetCom /