« Return to Thread: Why is the rootLoader null?

Why is the rootLoader null?

by geossscripting :: Rate this Message:

Reply to Author | View in Thread

When I run a script from Eclipse, the following line :

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


returns null. If I run the script from the command line, it's not null. I'm using the rootLoader to add jars at runtime.

What could be the reason for this behaviour?

--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

 « Return to Thread: Why is the rootLoader null?