[ http://jira.codehaus.org/browse/MPJAVA-37?page=all ]
     
Brett Porter closed MPJAVA-37:
------------------------------

    Resolution: Duplicate

> Problem with the new XML APIs
> -----------------------------
>
>          Key: MPJAVA-37
>          URL: http://jira.codehaus.org/browse/MPJAVA-37
>      Project: maven-java-plugin
>         Type: Bug
>     Versions: 1.5
>  Environment: Mac OS X 10.4.1
>     Reporter: Jon Dokulil

>
>
> When compiling a class which makes a call to 
> org.w3c.dom.Document.setXmlStandalone (part of the DOM Level 3 API, first 
> packaged with J2SE 5.0) I am getting an error that javac cannot find the 
> symbol setXmlStandalone(boolean).  The error comes about because 
> $MAVEN_HOME/lib/endorsed/xml-apis-1.0.b2.jar comes before the J2SE 5.0 
> classes.jar (on Mac OS X, usually rt.jar on other operating systems) on the 
> classpath.  This goes back to a problem of Maven using Xerces, which does not 
> support the latest W3C spec.  
> A dirty dirty short-term fix that worked for me is to replace 
> $MAVEN_HOME/lib/endorsed/xml-apis-1.0.b2.jar with a symbolic link to the 
> classes.jar/rt.jar file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to