jQuery in Action, 2nd edition
The moose likes Jython/Python and the fly likes eclipse+jython import error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Languages » Jython/Python
Reply 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
Ranch Hand

Joined: Sep 18, 2000
Posts: 496
    
    2

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: 310

Is com.mypackage project on the build path ?
Also, please ensure your module folder has an empty __init__.py file
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: eclipse+jython import error
 
Similar Threads
Issue when to trying check code with pmd
Applet in JSP
calling method from another package
How to create web service in RAD7
Applet InvocationTargetException