From: <bc...@wo...> - 2001-07-25 09:22:21
|
[syKim] >hello. > >I'm trying applet program.. > >my applet program use inner class extending & method overriding > >sample code : >... >------------------------------------------------------------------ > >but, in 2.0 it's not work. (It doesn't make xxx$HTMLFactory) > >then i try jython 2.1a2, although it makes xxx$HTMLFactory but it occur >error > >then i test simply applet, it occur same error in every applet program. > >the error message is : > >------------------------------------------------------------------- > >Java Traceback: >... >java.lang.NoClassDefFoundError: org/python/util/PyMetaClass > at org.python.core.Py.makeClass(Py.java) > >------------------------------------------------------------------- > >i'm using jdk1.3.1 & jython 2.1a2 & windows 98 (i tested under windows2000) > >it works well just using <jython excutionfilename> > >but in case jythonc it's not work. It is an unfortunate bug that wasn't detected during our last testing. A workaround is to edit the main.py file and add a single line. See here for details: http://www.jython.org/cgi-bin/moin.cgi/PyMetaClassBug The CVS already contain a fix. regards, finn |