简体   繁体   中英

How to import in Java Python subclasses that use abstract methods of other classes?

We need to use in Java written software some Python subclasses of an abstract Python class. Trying to do it with Jython we had some troubles that we haven't experienced importing not-abstract Python classes. More specifically, the error that we get is this

the source attachment is not contain the source for the file PyTableCode.class

Does anybody knows how to fix this issue?

确实需要代码,但是我的直觉是,您的系统可以从Jython访问已编译的.class文件,但不能访问.py源文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM