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?
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?
Did you ever get an answer to this? Sorry, but I'm also having this issue, and want to dynamically alter the class-path