Message1424
Jython 2.2a1 on java1.5.0_07
Compile and run the attached file with these commands:
jythonc --deep --core --jar test.jar test.py
java -jar test.jar
This produces the following output for me:
Exception in thread "main" Traceback (innermost last):
File "C:\development\testcase\test.py", line 0, in main
File "C:\development\testcase\test.py", line 0, in test
java.lang.NoClassDefFoundError: org/python/core/parser
at org.python.core.Py.compile_flags(Py.java:1647)
at org.python.core.Py.compile_flags(Py.java:1658)
at org.python.core.Py.exec(Py.java:1201)
at test$_PyInner.test$1(test.java:40)
at test$_PyInner.call_function(test.java:31)
at org.python.core.PyTableCode.call(PyTableCode.java:213)
at org.python.core.PyTableCode.call(PyTableCode.java:426)
at org.python.core.Py.makeClass(Py.java:1517)
at org.python.core.Py.makeClass(Py.java:1484)
at test$_PyInner.main$2(test.java:47)
at test$_PyInner.call_function(test.java:33)
at org.python.core.PyTableCode.call(PyTableCode.java:213)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.imp.createFromCode(imp.java:191)
at org.python.core.Py.runMain(Py.java:856)
at test.main(test.java:61)
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/python/core/parser |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:41 | admin | link | issue1656633 messages |
2008-02-20 17:17:41 | admin | create | |
|