You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Peter Keegan <pe...@gmail.com> on 2007/10/01 19:38:13 UTC

GOMStaxWriter compile error

I've been getting the following compiler error when building the javadocs
from the trunk sources:

Ant build error:

    [javac] D:\lucene-
2.2.0\contrib\gdata-server\src\gom\src\java\org\apache\lucene\gdata\gom\writer\GOMStaxWriter.java:102:cannot
find symbol
    [javac] symbol  : method createXMLStreamWriter(java.io.Writer)
    [javac] location: class javax.xml.stream.XMLInputFactory
    [javac]                 GOMStaxWriter.class.getClassLoader
()).createXMLStreamWriter(
    [javac]                                                      ^
    [javac] 1 error

The Eclipse compiler error is:
The method createXMLStreamWriter(Writer) is undefined for the type
XMLInputFactory
 .../contrib/gdata-server/src/gom/src/java/org/apache/lucene/gdata/gom/writer
 GOMStaxWriter.java    line 102    1191259164737    2261318

I'm using Java 6. Is anyone else seeing this error?

Peter