Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0, 1.8.4
-
None
Description
GroovyScriptEngine loadScriptByName from jarURL, first time is ok, second time fail, GroovyScriptEngine attempts to load from a fileURL.
For fix this, change this:
String path = conn.getURL().getPath();
to
String path = conn.getURL().toString();