users@jaxb.java.net

Re: Can't build from source

From: Martin Grebac <Martin.Grebac_at_Sun.COM>
Date: Mon, 14 Sep 2009 10:00:29 +0200

Hi,
 build with JDK 1.5, or put JAXB 2.2 jar to your JDK endorsed dir.
  MartiNG

Benson Margulies wrote:
> I just pulled jaxb from CVS, and tried to build it, and got:
>
> compile:
> [javac] Compiling 223 source files to
> /Users/benson/x/jaxb/jaxb-ri/runtime/build/classes
> [javac]
> /Users/benson/x/jaxb/jaxb-ri/runtime/src/com/sun/xml/bind/v2/model/impl/ReferencePropertyInfoImpl.java:294:
> cannot find symbol
> [javac] symbol : method required()
> [javac] location: @interface javax.xml.bind.annotation.XmlElementRef
> [javac] return ref.required();
> [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] 1 error
>
> BUILD FAILED
>
>

-- 
Martin Grebac, http://blogs.sun.com/mgrebac
Web Technologies & Standards
Sun Microsystems Czech
ICQ: 93478885