GOMStaxWriter compile error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GOMStaxWriter compile error

Peter Keegan
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