|
Sorry for the tone here but I'm just so freaking frustrated.
I ran into inscrutable problems building the latest Grails from Subversion so grabbed the latest "stable" release (1.0.2), created a domain class then ran the generate-all on it. java.lang.IncompatibleClassChangeError: Class org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy does not implement the requested interface org.xml.sax.Attributes Same silliness if I run generate-controller or generate-views. Same response whether the domain class is Java or generated Groovy. WTF? I'm perfectly happy to find that it's All My Own Fault but I'm not trying to do anything weird. $ echo $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home $ which java /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java |
|
Have you tried the usual:
>rm -rf ~/.grails >grails clean ? Brock On Fri, May 30, 2008 at 9:43 AM, M Stewart <[hidden email]> wrote: > > Sorry for the tone here but I'm just so freaking frustrated. > > I ran into > http://www.nabble.com/building-from-svn%3A-error-starting-unit-test.xml%3A57%3A-modern-compiler-td17560063.html > inscrutable problems building the latest Grails from Subversion so grabbed > the latest "stable" release (1.0.2), created a domain class then ran the > generate-all on it. > > java.lang.IncompatibleClassChangeError: Class > org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy does not > implement the requested interface org.xml.sax.Attributes > > Same silliness if I run generate-controller or generate-views. Same answer > the domain is Java or generated Groovy. > > WTF? > > I'm perfectly happy to find that it's All My Own Fault but I'm not trying to > do anything weird. > > $ echo $JAVA_HOME > /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home > $ which java > /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java > > > -- > View this message in context: http://www.nabble.com/WTF-IncompatibleClassChangeError--tp17560695p17560695.html > Sent from the grails - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Also, is downgrading to Java 5 an option for you? (as suggested by Graeme)
http://www.nabble.com/Re%3A-building-from-svn%3A-error-starting-unit-test.xml%3A57%3A-modern-compiler-p17560598.html Brock On Fri, May 30, 2008 at 9:51 AM, Brock Heinz <[hidden email]> wrote: > Have you tried the usual: > >>rm -rf ~/.grails >>grails clean > > ? > > Brock > > > On Fri, May 30, 2008 at 9:43 AM, M Stewart <[hidden email]> wrote: >> >> Sorry for the tone here but I'm just so freaking frustrated. >> >> I ran into >> http://www.nabble.com/building-from-svn%3A-error-starting-unit-test.xml%3A57%3A-modern-compiler-td17560063.html >> inscrutable problems building the latest Grails from Subversion so grabbed >> the latest "stable" release (1.0.2), created a domain class then ran the >> generate-all on it. >> >> java.lang.IncompatibleClassChangeError: Class >> org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy does not >> implement the requested interface org.xml.sax.Attributes >> >> Same silliness if I run generate-controller or generate-views. Same answer >> the domain is Java or generated Groovy. >> >> WTF? >> >> I'm perfectly happy to find that it's All My Own Fault but I'm not trying to >> do anything weird. >> >> $ echo $JAVA_HOME >> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home >> $ which java >> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java >> >> >> -- >> View this message in context: http://www.nabble.com/WTF-IncompatibleClassChangeError--tp17560695p17560695.html >> Sent from the grails - user mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
In reply to this post by BrockHeinz
Didn't help, I'm afraid. (It's a brand new app so there wasn't much to clean.) Thank you for the response though. |
|
In reply to this post by BrockHeinz
Downgrading is not an option for us. We have code that uses 1.6 features. |
|
On Fri, May 30, 2008 at 4:05 PM, M Stewart <[hidden email]> wrote:
> > > BrockHeinz wrote: >> >> Also, is downgrading to Java 5 an option for you? (as suggested by >> Graeme) >> >> http://www.nabble.com/Re%3A-building-from-svn%3A-error-starting-unit-test.xml%3A57%3A-modern-compiler-p17560598.html >> > > Downgrading is not an option for us. We have code that uses 1.6 features. Unfortunately then you are stuck using VMware are Parallels until the bug referenced previously is fixed. The 1.6 JDK for the Mac only just came out and it seems all the problems haven't been ironed out yet Cheers > -- > View this message in context: http://www.nabble.com/WTF-IncompatibleClassChangeError--tp17560695p17561245.html > Sent from the grails - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Graeme Rocher Grails Project Lead G2One, Inc. Chief Technology Officer http://www.g2one.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
Just tried it on my Linux machine and it worked fine. Sigh. Damn you, Steve Jobs! Thanks for the response, Graeme. Sorry for the bile... |
| Powered by Nabble | Edit this page |
