- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Eclipse plugin doesn't recognize jar files?
Sat, 2010-01-02, 18:21
Hi,
I have some classes in a jar file that's included in a Scala project.
The jar file is included
in Referenced Libraries. However, in the IDE, the classes from the jar
file seem not available.
Let's say I have this import line:
import com.mycompany.mypackage
The IDE shows error "value mycompany is not a member of package com".
Is this expected?
Thanks,
Jack
Hi Jack,
which version of the plugin are you using?
If you are using 2.7.x does the error message appear in the Problems
View or only in the editor? If this is the case then this might be an
instance of the 1277 bug and the error message is bogus.
See https://lampsvn.epfl.ch/trac/scala/ticket/1874 and
https://lampsvn.epfl.ch/trac/scala/ticket/1277.