Community
Participate
Working Groups
I am working with a project that requires about ten external jars. I am able to add them to the project in the package explorer and I can correctly expand the tree in the package explorer to any class in the package. However, with a certain jar file (Apache Jakarta's commons-collections.jar, version 2.1), there are some classes that get flagged as deprecated when I try to use them in the editor and many of their methods (but not all) are not appearing in the auto- complete dropdown. When I type in the name of the method for this class and try to compile it, it gives an error as follows: The method <method> is undefined for the type <class> I know that the neither the class nor the methods are deprecated and that the jar file is correct. The class (ListUtils) was deprecated at one time but has since been un-deprecated.
Can you provide exact steps to reproduce?
After further review, I think that the problem is in the jar file. I tried compiling it from a command line compiler and got the same error.