Announcement Announcement Module
No announcement yet.
STS Open Declaration <F3> Fails on Java attributes and methods Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS Open Declaration <F3> Fails on Java attributes and methods

    I am working on a Java Project in Spring Tool Suite. When I try to Open the Declaration for an attribute or method using the <F3> Function Key I get the following error:

    “Problem opening an editor. Reason: smt_osma_1.13.3 does not exist"

    “smt_osma_1.13.3” is the name of the project and the name of the Subversion Branch that I checked out to create the project.

    The details are as follows:

    Spring Tool Suite Version: 3.1.0.RELEASE
    Subclipse Version: 1.8.x (used to connect to Subversion repository)
    Java Project Create Steps:
    1. Open SVN Repository Explorer Perspective (Subclipse plugin)
    2. Check-out a branch from Subversion as a project in the open Workspace
    3. Change to Java Perspective
    4. Open Project Context Menu and select: Convert -> To Maven Project

    After completing those steps I can open Java Classes using “<ctrl><shift>r”. Once in those open classes I can’t select a method call and use <F3> to navigate to the method declaration.

    Does anyone know how I can get <F3> to Open Declarations?

    Thank you


  • #2
    Hey Todd!

    It looks like your projects are not configured as Java projects. Can you open classes by using "<Ctrl><Shift> t" for "open type"? And do those projects have the Java nature and the Java builders configured? From your description I guess not...

    You can convert your project to be a "faceted project" and then activate the Java facet on it, in case you don't want to setup new and fresh Java projects.