aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes eclipse: Unable to open class with Capital prefix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse: Unable to open class with Capital prefix" Watch "eclipse: Unable to open class with Capital prefix" New topic
Author

eclipse: Unable to open class with Capital prefix

Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
Hi ranchers
In eclipse I am trying to open class named : IBMCoreCoordinator.java
I type "I*Coor" or "IBMC*Coor" in the "Open Type" dialog but eclipse won't find the class.
I am able to open the class through the "Open Resource" dialog...
Any idea?

Thank you
Uli Hofstoetter
Ranch Hand

Joined: Nov 24, 2006
Posts: 57
Two possible reasons:
  • the project is not a java project
  • the file is not located inside a source folder


  • Regards,
    Uli


    SCEA5, Certified ScrumMaster
    Sharon whipple
    Ranch Hand

    Joined: Jul 31, 2003
    Posts: 294
    Thank you Uli
    Its a Java project, and the package is inside source folder,
    I am able to reach other Java classes in the same package..
    [ December 23, 2008: Message edited by: Sharon whipple ]
    Uli Hofstoetter
    Ranch Hand

    Joined: Nov 24, 2006
    Posts: 57
    Next try

    Is a type filter active?

    Window -> Preferences -> Java -> Appearance -> Type Filters

    Is the class correctly recognised by Eclipse as a java class? (When expanding the package in the Package explorer, does the problem file have the same icon as the other (reachable) classes?)
    Sharon whipple
    Ranch Hand

    Joined: Jul 31, 2003
    Posts: 294
    I had "com.companyName.*" package filter
    I removed it and now it seems ok,

    Thank you
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: eclipse: Unable to open class with Capital prefix
     
    Similar Threads
    How to run a java jar file from Eclipse?
    eclipse: class search in jars
    How to download different files in struits dppending on the file format
    Open/Save File Dialog
    issue with open/save dialog