Groovy rootLoader is null

Posted by Geo on Stack Overflow See other posts from Stack Overflow or by Geo
Published on 2009-06-29T11:50:12Z Indexed on 2010/06/08 14:42 UTC
Read the original article Hit count: 175

Filed under:
|

When running a groovy script from Eclipse, the following line:


def rootLoader = this.class.getClassLoader().getRootLoader()

is null. When I run the script directly from command line, this is not null. How can I find out why this happens?

© Stack Overflow or respective owner

Related posts about groovy

Related posts about classloaders