dev@grizzly.java.net

Re: Build failure

From: Justin Lee <Justin.Lee_at_Sun.COM>
Date: Mon, 18 May 2009 11:06:25 -0400

XMLEventReader is a 1.6 class so can't be used in the 1.9.x tree since it needs to build on 1.5.



Hubert Iwaniuk wrote:
> Hi,
>
> Is it only me or you are experiencing same problems:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/huberti/Devel/Source/grizzly/modules/http-servlet-deployer/src/main/java/com/sun/grizzly/http/webxml/parser/JAXBWebXml_3_0Parser.java:[116,42]
> cannot access javax.xml.stream.XMLEventReader
> file javax/xml/stream/XMLEventReader.class not found
> JAXBElement root = (JAXBElement) u.unmarshal(new
> FileInputStream(webxml));
>
> /home/huberti/Devel/Source/grizzly/modules/http-servlet-deployer/src/main/java/com/sun/grizzly/http/webxml/parser/JAXBWebXml_2_4Parser.java:[93,42]
> cannot access javax.xml.stream.XMLStreamReader
> file javax/xml/stream/XMLStreamReader.class not found
> JAXBElement root = (JAXBElement) u.unmarshal(new
> FileInputStream(webxml));
>
>
>
> $ mvn -version
> Maven version: 2.0.10
> Java version: 1.5.0_18
> OS name: "linux" version: "2.6.24-24-generic" arch: "i386" Family: "unix"
>
> Cheers,
> Hubert.
>
>