Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CTRL+click to open method declaration doesn't work on Eclipse 3.5 (Galileo) [closed]

In a J2EE project Ctrl+click on methods (usually only local methods, ones that belong to the same class) doesn't jump to that method declaration. The eclipse project was created using Gradle so that might be an issue, also when Eclipse starts the log has the following exception:

A handler conflict occurred. This may disable some commands. Conflict for 'org.eclipse.wst.jsdt.ui.edit.text.java.open.editor':HandlerActivation(commandId=org.eclipse.wst.jsdt.ui.edit.text.java.open.editor, handler=ActionHandler(org.eclipse.wst.jsdt.ui.actions.OpenAction@c5f6db), expression=AndExpression(AndExpression(org.eclipse.ui.SubActionBars$1@fdd15b,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@38ba04)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f528ab)),sourcePriority=1064961) HandlerActivation(commandId=org.eclipse.wst.jsdt.ui.edit.text.java.open.editor, handler=ActionHandler(org.eclipse.wst.jsdt.ui.actions.OpenAction@c5f6db), expression=AndExpression(AndExpression(org.eclipse.ui.SubActionBars$1@fdd15b,ActivePartExpression(org.eclipse.ui.navigator.resources.ProjectExplorer@38ba04)),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f528ab)),sourcePriority=1064961)

I am running eclipse on Fedora 12 distro

like image 315
talg Avatar asked Dec 13 '22 22:12

talg


1 Answers

it seems you didn't put the source code into your classpath. just right click you source code package and select "build path -> use as source folder"

like image 67
icemedia Avatar answered Jan 25 '23 22:01

icemedia