The following forum message was posted by jhgarrison at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3834212:

I just came back to some jython code I haven't touched in over a year.  In that
time I've updated to Eclipse Helios and installed the latest  PyDev
(1.6.1.2010080312).  I'm getting an "Unresolved Import" error on a line that
used to work:

[code]from com.troux.bpserver.importexport.Importer import
ResultsHandler[/code]

ResultsHandler is a public interface declared in the Importer class. If I use
code-completion, it wants to write this as

[code]from com.troux.bpserver.importexport import
Importer$ResultsHandler[/code]

But this results in 

[code]Lexical error at line 10, column 53.  Encountered: "$" (36), after
: ""[/code]

I've also tried 

[code]from com.troux.bpserver.importexport import
Importer.ResultsHandler[/code]

but this gives

[code]Encountered "." at line 10, column 53. Was expecting one of:     <NEWLINE>
...     ";" ...     "," ...     "as" ...     ";" ...     [/code]




------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to