- From: Kylie Kavanagh <foxykav@hotmail.com>
- Date: Sun, 1 Jul 2007 12:08:34 +1000
- To: www-validator-css@w3.org
Hi again, Please ignore the last post from me ... I had not read the instructions properly and had not download the source files. (opps...) But ... I now have a new problem ... when I compile the source I get these error messages. I have looked for the file(s) that the script is looking for but they are not included in the folders and files I downloaded from the CVS (CVSROOT=":pserver:anonymous@dev.w3.org:/ sources/public") Here is my build.xml ------------------------------------------------------------------------ ------------------------------------------------------ <?xml version="1.0" encoding="UTF-8"?> <!-- $Id$ --> <project default="jar" name="W3C CSS Validator"> <!-- =================================================================== --> <!-- User-overrideable properties --> <!-- =================================================================== --> <property file="build.properties"/> <property name="servlet.lib" value="/library/tomcat/common/lib/ servlet.jar"/> <property name="jigsaw.lib" value="/library/tomcat/webapps/css- validator/WEB-INF/lib/jigsaw.jar"/> <!-- =================================================================== --> <!-- Project-wide properties --> <!-- =================================================================== --> <!-- Overriding those properties works too, but is not advisable. --> <property name="app.name" value="css-validator"/> <property name="jar.file" value="${app.name}.jar"/> <property name="war.file" value="${app.name}.war"/> <!-- =================================================================== --> <!-- Targets --> <!-- =================================================================== --> <path id="build.class.path"> <pathelement location="${servlet.lib}"/> <pathelement location="${jigsaw.lib}"/> </path> <target name="build" description="Builds the validator"> <mkdir dir="./build"/> <javac classpathref="build.class.path" destdir="./build" encoding="ISO-8859-15" debug="yes"> <src path="./org/w3c"/> <src path="./html"/> </javac> <copy todir="./build"> <fileset dir="./"> <exclude name="**/*.java"/> <exclude name="*.html*"/> <exclude name="*.css"/> <exclude name="*.bat"/> <exclude name="*.bat"/> <exclude name="*.xml"/> <exclude name="*.ico"/> <exclude name="*.cvs"/> <exclude name="**/style/*"/> <exclude name="**/images/*"/> </fileset> </copy> </target> <target name="javadoc" description="Generates API docs"> <mkdir dir="./javadoc"/> <javadoc packagenames="org.w3c.*" sourcepath="./" destdir="./javadoc" author="true" version="true" windowtitle="W3C CSS Validator API"/> </target> <target name="jar" depends="build" description="Creates the lib archive"> <delete file="${jar.file}"/> <jar jarfile="${jar.file}" basedir="build"> <include name="org/**"/> <include name="html/**"/> <manifest> <attribute name="Main-Class" value="org.w3c.css.css.StyleSheetCom"/> </manifest> </jar> </target> <target name="war" depends="build" description="Creates the webapp module"> <delete file="${war.file}"/> <war warfile="${war.file}" webxml="web.xml" basedir="." excludes="**/src/**,**/docs/**,**/build/**,**/*.tmp,*.jar,*.war,**/ org/**,**/html/**" > <classes dir="build"/> </war> </target> <target name="clean" description="Cleans up generated files"> <delete file="${jar.file}"/> <delete file="${war.file}"/> <delete dir="./build"/> <delete dir="./javadoc"/> </target> </project> ------------------------------------------------------------------------ ------------------------------------------------------ And the compiler error messages: ------------------------------------------------------------------------ ------------------------------------------------------ Yes, Master? CLASSPATH=.:./WEB-INF/lib:$CLASSPATH ant Buildfile: build.xml build: [javac] Compiling 843 source files to /Library/Tomcat/webapps/ css-validator/build [javac] /Library/Tomcat/webapps/css-validator/html/tags/ BaseTag.java:17: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ Flow.java:7: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:8: package html.parser does not exist [javac] import html.parser.Attributes; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:9: package html.parser does not exist [javac] import html.parser.Element; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:10: package html.tree does not exist [javac] import html.tree.ActiveTree; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:24: cannot find symbol [javac] symbol: class ActiveTree [javac] public abstract class HtmlTree extends ActiveTree implements HtmlTag { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTag.java:7: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTag.java:8: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTag.java:10: cannot find symbol [javac] symbol: class Tag [javac] public interface HtmlTag extends Tag, Tree { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTag.java:10: cannot find symbol [javac] symbol: class Tree [javac] public interface HtmlTag extends Tag, Tree { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ BaseTag.java:56: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.BaseTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ BaseTag.java:56: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.BaseTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:25: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.HtmlTree [javac] Element elem; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:26: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.HtmlTree [javac] Attributes atts; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:39: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.HtmlTree [javac] public void initialize(Element elem, Attributes atts, ParserFrame parserFrame) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:39: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.HtmlTree [javac] public void initialize(Element elem, Attributes atts, ParserFrame parserFrame) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:54: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.HtmlTree [javac] public Element getElement() { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:58: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.HtmlTree [javac] public Attributes getAttributes() { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTag.java:16: cannot find symbol [javac] symbol : class Element [javac] location: interface html.tags.HtmlTag [javac] void initialize(Element elem, Attributes atts, ParserFrame parserFrame); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTag.java:16: cannot find symbol [javac] symbol : class Attributes [javac] location: interface html.tags.HtmlTag [javac] void initialize(Element elem, Attributes atts, ParserFrame parserFrame); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ Block.java:7: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:8: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:9: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:22: cannot find symbol [javac] symbol: class JmlParser [javac] public class HtmlParser extends JmlParser implements Runnable, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ TagFactory.java:7: package html.parser does not exist [javac] import html.parser.Tag; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:42: cannot find symbol [javac] symbol : class ParserException [javac] location: class html.tags.HtmlParser [javac] throws ParserException { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:52: cannot find symbol [javac] symbol : class ParserException [javac] location: class html.tags.HtmlParser [javac] throws ParserException { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:60: cannot find symbol [javac] symbol : class ParserException [javac] location: class html.tags.HtmlParser [javac] TagFactory f) throws ParserException { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:74: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.HtmlParser [javac] public Tag makeTag(Element elem, Attributes atts) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:74: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.HtmlParser [javac] public Tag makeTag(Element elem, Attributes atts) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:74: cannot find symbol [javac] symbol : class Tag [javac] location: class html.tags.HtmlParser [javac] public Tag makeTag(Element elem, Attributes atts) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParserListener.java:7: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:107: cannot find symbol [javac] symbol : class Tag [javac] location: class html.tags.HtmlParser [javac] public void handleStartTag(Tag tag) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:145: cannot find symbol [javac] symbol : class Tag [javac] location: class html.tags.HtmlParser [javac] public void handleEndTag(Tag tag) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:164: cannot find symbol [javac] symbol : class TextElement [javac] location: class html.tags.HtmlParser [javac] TextElement proto = new TextElement(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:167: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.HtmlParser [javac] Element p = new Element("p", 0); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:197: cannot find symbol [javac] symbol : class Tag [javac] location: class html.tags.HtmlParser [javac] public void handleEmptyTag(Tag tag) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ TagFactory.java:19: cannot find symbol [javac] symbol : class Tag [javac] location: interface html.tags.TagFactory [javac] Tag create(String name); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ LinkTag.java:21: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ LinkTag.java:59: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.LinkTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ LinkTag.java:59: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.LinkTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/Pre.java: 7: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:19: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:20: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:40: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.RootTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:40: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.RootTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ SimpleTagFactory.java:7: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ SimpleTagFactory.java:8: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ SimpleTagFactory.java:47: cannot find symbol [javac] symbol : class Tag [javac] location: class html.tags.SimpleTagFactory [javac] public Tag create(String name) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ StyleTag.java:16: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ StyleTag.java:17: package html.parser does not exist [javac] import html.parser.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ StyleTag.java:47: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.StyleTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ StyleTag.java:47: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.StyleTag [javac] public void initialize(Element elem, Attributes atts, [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ StyleTag.java:67: cannot find symbol [javac] symbol : class Tree [javac] location: class html.tags.StyleTag [javac] public void attach(Tree child, int rank) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ Unknown.java:7: package html.tree does not exist [javac] import html.tree.*; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/org/w3c/css/css/ TagSoupStyleSheetHandler.java:503: package org.ccil.cowan.tagsoup does not exist [javac] org.xml.sax.XMLReader xmlParser = new org.ccil.cowan.tagsoup.Parser(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/org/w3c/css/css/ TagSoupStyleSheetHandler.java:544: package org.ccil.cowan.tagsoup does not exist [javac] org.xml.sax.XMLReader xmlParser = new org.ccil.cowan.tagsoup.Parser(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:90: cannot find symbol [javac] symbol : method getParent() [javac] location: class html.tags.HtmlTree [javac] HtmlTree atl = (HtmlTree) getParent(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:92: operator == cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if (atl == null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlTree.java:168: cannot find symbol [javac] symbol : method arity() [javac] location: class html.tags.HtmlTree [javac] return getClass().getName() + "[" + elem + "," + atts + "," + arity() + "]"; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ BaseTag.java:43: inconvertible types [javac] found : html.tags.BaseTag [javac] required: java.lang.Object [javac] System.out.println( "creating BaseTag this=" + (Object) this); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ BaseTag.java:65: inconvertible types [javac] found : html.tags.BaseTag [javac] required: java.lang.Object [javac] + (Object) this + " (" [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:79: operator == cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if (tag == null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:81: cannot find symbol [javac] symbol : variable ln [javac] location: class html.tags.HtmlParser [javac] parserFrame.line = ln; // -vm [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:113: operator == cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if(top == null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:119: notifyCreateRoot(java.net.URL,html.tags.HtmlTag) in html.tags.HtmlParserListener cannot be applied to (java.net.URL,html.tags.HtmlTree) [javac] l.notifyCreateRoot(url, top); // 970718 -vm (added the url) [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:121: cannot find symbol [javac] symbol : method enter() [javac] location: class html.tags.HtmlTree [javac] current.enter(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:124: operator == cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if(current == null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:129: operator != cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if(current != null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:130: cannot find symbol [javac] symbol : method arity() [javac] location: class html.tags.HtmlTree [javac] current.attach(child, current.arity()); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:132: cannot find symbol [javac] symbol : method enter() [javac] location: class html.tags.HtmlTree [javac] current.enter(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:142: cannot find symbol [javac] symbol : variable ln [javac] location: class html.tags.HtmlParser [javac] notifyActivity(ln, 0); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:152: operator != cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if(current != null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:153: cannot find symbol [javac] symbol : method exit() [javac] location: class html.tags.HtmlTree [javac] current.exit(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:154: cannot find symbol [javac] symbol : method getParent() [javac] location: class html.tags.HtmlTree [javac] current = (HtmlTree)(current.getParent()); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:164: cannot find symbol [javac] symbol : class TextElement [javac] location: class html.tags.HtmlParser [javac] TextElement proto = new TextElement(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:167: cannot find symbol [javac] symbol : class Element [javac] location: class html.tags.HtmlParser [javac] Element p = new Element("p", 0); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:174: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.HtmlParser [javac] Attributes atts = new Attributes(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:174: cannot find symbol [javac] symbol : class Attributes [javac] location: class html.tags.HtmlParser [javac] Attributes atts = new Attributes(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:175: cannot find symbol [javac] symbol : variable TextElement [javac] location: class html.tags.HtmlParser [javac] atts.put(TextElement.TEXT, new String(text)); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:176: cannot find symbol [javac] symbol : variable TextElement [javac] location: class html.tags.HtmlParser [javac] HtmlTree tag = (HtmlTree)factory.create (TextElement.TEXT); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:177: cannot find symbol [javac] symbol : variable ln [javac] location: class html.tags.HtmlParser [javac] parserFrame.line = ln; [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:191: operator != cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if(current != null) { // FIXME: should this really happen [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:192: cannot find symbol [javac] symbol : method arity() [javac] location: class html.tags.HtmlTree [javac] current.attach((HtmlTree)tag, current.arity()); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:199: operator != cannot be applied to html.tags.HtmlTree,<nulltype> [javac] if(current != null) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:200: cannot find symbol [javac] symbol : method arity() [javac] location: class html.tags.HtmlTree [javac] current.attach((HtmlTree)tag, current.arity()); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:222: cannot find symbol [javac] symbol : variable dtd [javac] location: class html.tags.HtmlParser [javac] parse(input, dtd); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:226: cannot find symbol [javac] symbol : class XMLInputException [javac] location: class html.tags.HtmlParser [javac] } catch(XMLInputException e) { [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:239: notifyEnd(html.tags.HtmlTag,java.lang.String) in html.tags.HtmlParserListener cannot be applied to (html.tags.HtmlTree,java.lang.String) [javac] l.notifyEnd(top, "text/html"); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:271: addHtmlStreamListener (html.tags.HtmlStreamListener) in html.tags.HtmlInputStream cannot be applied to (html.tags.HtmlParser) [javac] hin.addHtmlStreamListener(this); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:296: addHtmlStreamListener (html.tags.HtmlStreamListener) in html.tags.HtmlInputStream cannot be applied to (html.tags.HtmlParser) [javac] hin.addHtmlStreamListener(this); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:327: notifyFatalError (html.tags.HtmlTag,java.lang.Exception,java.lang.String) in html.tags.HtmlParserListener cannot be applied to (html.tags.HtmlTree,java.lang.Exception,java.lang.String) [javac] l.notifyFatalError(root, x, s); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ HtmlParser.java:335: cannot find symbol [javac] symbol : variable ln [javac] location: class html.tags.HtmlParser [javac] l.notifyActivity(ln, bytes); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ LinkTag.java:47: inconvertible types [javac] found : html.tags.LinkTag [javac] required: java.lang.Object [javac] System.out.println( "creating LinkTag this=" + (Object)this); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ LinkTag.java:68: inconvertible types [javac] found : html.tags.LinkTag [javac] required: java.lang.Object [javac] + (Object) this + " (" [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:36: inconvertible types [javac] found : html.tags.RootTag [javac] required: java.lang.Object [javac] System.out.println( "creating RootTag this=" + (Object)this); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:45: cannot find symbol [javac] symbol : class XMLInputException [javac] location: class html.tags.RootTag [javac] throw new XMLInputException(null); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ RootTag.java:50: cannot find symbol [javac] symbol : class XMLInputException [javac] location: class html.tags.RootTag [javac] throw new XMLInputException(xml); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ SimpleTagFactory.java:58: inconvertible types [javac] found : java.lang.Object [javac] required: html.tags.HtmlTree [javac] HtmlTree tag = (HtmlTree)tagClass.newInstance(); [javac] ^ [javac] /Library/Tomcat/webapps/css-validator/html/tags/ StyleTag.java:43: inconvertible types [javac] found : html.tags.StyleTag [javac] required: java.lang.Object [javac] System.out.println( "creating StyleTag this=" + (Object)this); [javac] ^ [javac] Note: Some input files use or override 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] 100 errors BUILD FAILED /Library/Tomcat/webapps/css-validator/build.xml:37: Compile failed; see the compiler error output for details. Total time: 15 seconds ------------------------------------------------------------------------ ------------------------------------------------------ Anyone have any ideas to why it can't find the files it's looking for? I'm I missing a .jar file? or something like that? Thanks, Kylie
Received on Sunday, 1 July 2007 02:09:09 UTC