Jython standalone jar throws an ImportError exception while I'm trying to use Jython with Apache-POI.
Below you will find out what I call my Jython script:
java -cp C:\jAutoMailerScript\lib\poi-3.9-20121203.jar -jar jython.jar main.py
Error:
Traceback (last last call):
File "main.py", line 32, in
from org.apache.poi.hssf.usermodel import *
ImportError: no module named apache
This is the code on line # 32:
from org.apache.poi.hssf.usermodel import *
Is there any restriction from Jython for working with third-party Java applications?
Thanks in advance,
source
share