dev@grizzly.java.net

grizzly-config fail to build on JDK 5

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 06 Apr 2009 09:51:07 -0400

Salut,

> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 20 source files to /Users/jeanfrancoisarcand/workspace/grizzly/trunk/code/contribs/grizzly-config/target/classes
> /Users/jeanfrancoisarcand/workspace/grizzly/trunk/code/contribs/grizzly-config/src/main/java/com/sun/grizzly/config/Utils.java:74: cannot access javax.xml.stream.XMLStreamReader
> file javax/xml/stream/XMLStreamReader.class not found
> final DomDocument document = parser.parse(url, new DomDocument(habitat));
> ^
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Fatal error compiling

I think the JAXB jar must be explicitly added in domain.xml

A+

-- jeanfrancois