When start typing criteria on Eclipse's Open Resource dialog (Ctrl+Shift+R) sometimes .class files shown on Matching Items's box. In my case they are only compiled JSPs not regular Java's classes.
Solution:
Mark folder containing .class files as derived. In my case, i marking 'target' folder (yes it's maven project), and here's the steps:
- right click the folder on Project Explorer,
- click on 'Properties',
- check 'Derived' under 'Attributes' part.
- click 'OK',
![]() |
Derived attibute on foder properties |
If .class file still shown then you might want to:
- examine Open Resource menu (accessed by clicking triangle button on dialog's top right) the 'Show Derived Resources' should be unchecked.
- find another folder containing .class files and check their 'Derived' property.
![]() | |
access to Open Resource's menu |
No comments:
Post a Comment