Results 1 to 2 of 2

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

  1. #1
    Join Date
    Apr 2007
    Posts
    3

    Default 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

    Todd

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    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.

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •