[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-scm
Subject:    [groovy-scm] [jira] Closed: (GROOVY-1700) println of org.w3c.dom.Node fails with
From:       "Scott Hickey (JIRA)" <jira () codehaus ! org>
Date:       2007-07-31 16:45:13
Message-ID: 11211929.1185900313327.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]


     [ http://jira.codehaus.org/browse/GROOVY-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Scott Hickey closed GROOVY-1700.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

With the current functionality, you do have manually import any dependent jars into \
your project classpath. Other solutions should be tracked as feature request or \
enhancement.

> println of org.w3c.dom.Node fails with NoClassDefFoundError: \
>                 org/apache/xml/serialize/OutputFormat
> --------------------------------------------------------------------------------------------------
>  
> Key: GROOVY-1700
> URL: http://jira.codehaus.org/browse/GROOVY-1700
> Project: groovy
> Issue Type: Bug
> Components: eclipse-plugin
> Environment: Eclipse SDK Version: 3.2.1 Build id: M20060921-0945
> Groovy Plugin 1.0.0.20070118
> Windows XP
> Reporter: Michael Koch
> Assignee: Scott Hickey
> Fix For: 1.0
> 
> 
> When I run the following code in a GroovyConsole started from within Eclipse, a \
> NoClassDefFoundError is thrown. import groovy.xml.DOMBuilder
> dom = DOMBuilder.newInstance()
> node = dom.foo()
> println node
> Exception thrown: java.lang.NoClassDefFoundError: \
>                 org/apache/xml/serialize/OutputFormat
> java.lang.NoClassDefFoundError: org/apache/xml/serialize/OutputFormat
> 	at org.codehaus.groovy.runtime.InvokerHelper.format(InvokerHelper.java:582)
> 	at org.codehaus.groovy.runtime.InvokerHelper.toString(InvokerHelper.java:189)
> 	at org.codehaus.groovy.runtime.DefaultGroovyMethods.println(DefaultGroovyMethods.java:322)
>   at groovy.lang.Script.println(Script.java:182)
> [snip]
> This does not happen if I run it in a GroovyConsole started standalone with the \
> Groovy 1.0 distribution. I get the same exception if I use the XMLUnit \
> XMLAssert.assertXMLEqual in a Groovy JUnit test started from within Eclipse.

-- 
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

        

<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
    <a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic