The following forum message was posted by gmseed at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4566881:
It appears this is a peculiar feature/bug of PyDev and discussed elsewhere:
The following import:
import java.util.ArrayList as ArrayList
raises the error "Unresolved import", flagged in the left hand margin
However, if the code is run it actually works - which is very confusing as the
IDE is telling you there are errors and yet the code will run. This does not
instill me with confidence with respect to future error messages.
Adding #@UnresolvedImport at the end of the import statement:
import java.util.ArrayList as ArrayList #@UnresolvedImport
stops the left-hand-margin error message.
Furthermore, I notice that there is no field/method popup listing in the editor
when adding defining an object of a Java class.
The following forum message was posted by skydive85 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4566881:
I'm having the same problem. I can run my jython scripts fine, but the eclipse
code analyzer can't seem to resolve any of the Java imports. I looks like my
PYTHONPATH has all the Java .jar files . I could just suppress the errors, although
I would like to be able to view Java docs like I can when I using eclipse for
Anyone have any ideas of what I can check next.