Eclipse "Open Type" window shows double
When I open开发者_StackOverflow中文版 the "Open Type" window in Eclipse, ctrl+shift+T, I see the same type show up multiple times. The types have exactly the same package and name. Why would it do that and how do I fix it?
You have probably added the same library twice, e.g. in two different jars. Look at your referenced libraries to see if you can find duplicates.
In my Eclipse (Helios) the full path of the jar file appears after the class name in the 'Open Type' menu.
Same name class are present in more than one project or package.It ll show that much time
For example you add same jar in reference library to more than one project from different path.Then open type of eclipse show Class which you are searching, in more than one time.It simply scan all the places and showing.
You can notice this in Open type dialog itself `ClassName(-)Path`.If you point the same place then it will restrict
精彩评论