*
The moose likes Jython/Python and the fly likes eclipse+jython import error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "eclipse+jython import error" Watch "eclipse+jython import error" New topic
Author

eclipse+jython import error

ambika mullasseri
Greenhorn

Joined: Jun 01, 2009
Posts: 28
I am getting this error

i have a plugin project com.myjython where there is JythonFactory.java which has the folloeing code

I have another plugin project com.mypackage which has pysrc folder with mymodule/myFile.py

Please help me find the reason for this issue.


SCJP 6.0 86%
Steve Fahlbusch
Bartender

Joined: Sep 18, 2000
Posts: 557
    
    7

nobody else has replied, so here it goes.....

first post the code....

second, insure that is the full and complete error message... i think it is, and i think i know the issue, but i need to see the code..

third, if you have fixed this, what did you do?

-steve
Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 329

Is com.mypackage project on the build path ?
Also, please ensure your module folder has an empty __init__.py file
 
wood burning stoves
 
subject: eclipse+jython import error
 
Similar Threads
How to create web service in RAD7
Applet InvocationTargetException
Applet in JSP
Issue when to trying check code with pmd
calling method from another package