Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse "Open Type" window shows double

When I open 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?

like image 970
Matthew Sowders Avatar asked Nov 05 '22 20:11

Matthew Sowders


1 Answers

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.

like image 150
Garrett Hall Avatar answered Nov 09 '22 08:11

Garrett Hall