Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA, jbehave support plugin cannot find declaration to go to

I've faced with the next problem:

after installing jbehave support plugin I can't jump to step declaration in Java.

I've already tried:

  1. to uninstall and again install this plugin;
  2. to use jbehave plugin, but this functionality also didn't work;
  3. to create new project and import already existed project in it;
  4. to import all project modules again;
  5. to restart IntelliJ IDEA few times;
  6. to Invalidate Caches/restart(IntelliJ IDEA functionality);
  7. to reboot my PC.

My OS: Windows 7 Professional 64-bit.

IntelliJ IDEA Community Edition 14.1

If you need any additional info, please mention which one.

enter image description here

enter image description here

enter image description here

like image 852
Alex.K. Avatar asked Apr 24 '15 07:04

Alex.K.


2 Answers

  1. you should be sure, that those steps have declaration to go to, because it's possible to have steps without it.
  2. you successfully build your project(all modules were downloaded and build successfully).
  3. your project configured correctly and you added all module dependencies.

In my case it was 2nd option from the list. After that I can jump to step declaration.

like image 84
Alex.K. Avatar answered Oct 04 '22 20:10

Alex.K.


What did it for me was:

  1. following this guide for importing the Ant build: https://www.youtube.com/watch?v=0hDxv7jjlPc

  2. specifying src folder as "Sources":

    enter image description here

like image 45
Saran Avatar answered Oct 04 '22 20:10

Saran