Message9979
This seems to be some sort of classloading issue that occurs both when running the sample program in the Eclipse IDE and with "mvn exec:java..."
Running (in Linux) with jython.jar in the boot classpath works without problems.
Manually registering the PyScriptEngineFactory to the ScriptEngineManager will make PyScriptEngineFactory.getScriptEngine() fail with a ClassNotFoundException.
Calling getScriptEngine() manually before calling scriptEngineManager.getEngineByName("python") will make the classloaders happy again, but the next failure is
Exception in thread "main" ImportError: Cannot import site module and its dependencies: No module named site |
|
Date |
User |
Action |
Args |
2015-04-27 07:55:38 | eaaltonen | set | messageid: <1430121338.4.0.107473480975.issue2339@psf.upfronthosting.co.za> |
2015-04-27 07:55:38 | eaaltonen | set | recipients:
+ eaaltonen |
2015-04-27 07:55:38 | eaaltonen | link | issue2339 messages |
2015-04-27 07:55:37 | eaaltonen | create | |
|