This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 264 - Can't build css-validator
Summary: Can't build css-validator
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: All Windows XP
: P2 enhancement
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-08 05:23 UTC by Uzi Landsmann
Modified: 2004-01-24 01:13 UTC (History)
0 users

See Also:


Attachments

Description Uzi Landsmann 2003-07-08 05:23:30 UTC
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)
Comment 1 Sijtsche Smeman 2003-07-11 10:22:21 UTC
Wrong bugfix was done only removing the import, but a useless call to 
HttpServletResponse was remaining. Fixed now by Sijtsche
Comment 2 Chris Neale 2004-01-23 20:13:50 UTC
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
/