W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2005

css validator cvs fails to build with jdk 1.5.0

From: Roman Stöckl-Schmidt <roman@stoeckl-schmidt.de>
Date: Sat, 26 Feb 2005 16:02:20 +0100
To: www-validator-css@w3.org
Message-ID: <cvq2sa$ubg$1@sea.gmane.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I've downloaded the validator sources as it says on the download page
and got ant ant the java 1.5.0 development kit (update 1) from java.sun.com
Now when I try to build it I get:

[snip]
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 36 errors

Because there is no second asterisk (*) in the output and I have
absolutely no knowledge of ant/building java apps I have no means of
finding out what the actual problem is. All I can do is guess that the "
"makefile" build.xml isn't compatible with the latest jdk?!

I'm running Debian sarge with a 2.6.8 kernel and the ant package (with
the dependencies of course) and as I stated before Sun's JDK 1.5.0 Update 1.

I've really tried to avoid bugging the list about this issue but haven't
been able to find useful info on this subject apart from the fact that
apparently

| Note: In JRE 1.4 and latter, lib/i18n.jar was replaced by
| lib/charsets.jar and ib/ext/localedata.jar
~ http://lists.w3.org/Archives/Public/www-validator-css/2004Sep/0033.html

I'm attaching the error log in case anybody would be so kind as to help
me out of my misery =/

Thanks in advance, Roman.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCII97n0kyIx7rF68RAh8ZAJ9H5o9zqaNJ2Eo/HlmQewQ7f5bt/QCfbCKp
MKXJwrVJZKS0TZCja1cWlEI=
=MkEt
-----END PGP SIGNATURE-----

Buildfile: build.xml

build:
    [mkdir] Created dir: /home/roman/webdesign/2002/css-validator/build
    [javac] Compiling 818 source files to /home/roman/webdesign/2002/css-validator/build
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:28: package javax.servlet does not exist
    [javac] import javax.servlet.ServletException;
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:29: package javax.servlet does not exist
    [javac] import javax.servlet.ServletConfig;
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:30: package javax.servlet does not exist
    [javac] import javax.servlet.ServletInputStream;
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:31: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServlet;
    [javac]                           ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:32: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletRequest;
    [javac]                           ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:33: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletResponse;
    [javac]                           ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:64: cannot find symbol
    [javac] symbol: class HttpServlet
    [javac] public final class CssValidator extends HttpServlet {
    [javac]                                         ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:116: cannot find symbol
    [javac] symbol  : class ServletConfig
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     public void init(ServletConfig config) throws ServletException {
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:116: cannot find symbol
    [javac] symbol  : class ServletException
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     public void init(ServletConfig config) throws ServletException {
    [javac]                                                   ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:190: cannot find symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     public void doGet(HttpServletRequest req, HttpServletResponse res)
    [javac]                       ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:190: cannot find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     public void doGet(HttpServletRequest req, HttpServletResponse res)
    [javac]                                               ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:191: cannot find symbol
    [javac] symbol  : class ServletException
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     throws ServletException, IOException {
    [javac]            ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:380: cannot find symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     public void doPost(HttpServletRequest req, HttpServletResponse res)
    [javac]                        ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:380: cannot find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     public void doPost(HttpServletRequest req, HttpServletResponse res)
    [javac]                                                ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:381: cannot find symbol
    [javac] symbol  : class ServletException
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     throws ServletException, IOException {
    [javac]            ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:522: cannot find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]                    HttpServletResponse res,
    [javac]                    ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:587: cannot find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     private void handleError(HttpServletResponse res,
    [javac]                              ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:47: package javax.servlet does not exist
    [javac] import javax.servlet.ServletException;
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:48: package javax.servlet does not exist
    [javac] import javax.servlet.ServletConfig;
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:49: package javax.servlet does not exist
    [javac] import javax.servlet.ServletInputStream;
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:50: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServlet;
    [javac]                           ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:51: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletRequest;
    [javac]                           ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:52: package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpServletResponse;
    [javac]                           ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:80: cannot find symbol
    [javac] symbol: class HttpServlet
    [javac] public final class check extends HttpServlet {
    [javac]                                  ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:119: cannot find symbol
    [javac] symbol  : class ServletConfig
    [javac] location: class org.w3c.css.servlet.check
    [javac]     public void init(ServletConfig config) throws ServletException {
    [javac]                      ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:119: cannot find symbol
    [javac] symbol  : class ServletException
    [javac] location: class org.w3c.css.servlet.check
    [javac]     public void init(ServletConfig config) throws ServletException {
    [javac]                                                   ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:182: cannot find symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: class org.w3c.css.servlet.check
    [javac]     public void doGet(HttpServletRequest req, HttpServletResponse res)
    [javac]                       ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:182: cannot find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class org.w3c.css.servlet.check
    [javac]     public void doGet(HttpServletRequest req, HttpServletResponse res)
    [javac]                                               ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:183: cannot find symbol
    [javac] symbol  : class ServletException
    [javac] location: class org.w3c.css.servlet.check
    [javac]     throws ServletException, IOException {
    [javac]            ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:299: cannot find symbol
    [javac] symbol  : class HttpServletRequest
    [javac] location: class org.w3c.css.servlet.check
    [javac]     public void doPost(HttpServletRequest req, HttpServletResponse res) 
    [javac]                        ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:299: cannot find symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: class org.w3c.css.servlet.check
    [javac]     public void doPost(HttpServletRequest req, HttpServletResponse res) 
    [javac]                                                ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:300: cannot find symbol
    [javac] symbol  : class ServletException
    [javac] location: class org.w3c.css.servlet.check
    [javac]     throws ServletException, IOException {
    [javac]            ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:117: cannot find symbol
    [javac] symbol  : variable super
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     super.init(config);
    [javac]     ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:319: cannot find symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]         res.sendError(HttpServletResponse.SC_UNAUTHORIZED);
    [javac]                       ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/CssValidator.java:395: cannot find symbol
    [javac] symbol  : class ServletInputStream
    [javac] location: class org.w3c.css.servlet.CssValidator
    [javac]     ServletInputStream in = req.getInputStream();
    [javac]     ^
    [javac] /home/roman/webdesign/2002/css-validator/org/w3c/css/servlet/check.java:120: cannot find symbol
    [javac] symbol  : variable super
    [javac] location: class org.w3c.css.servlet.check
    [javac]     super.init(config);
    [javac]     ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 36 errors
Received on Sunday, 27 February 2005 02:09:55 GMT

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