Java Class from multiple jar files

Hi,

I have a maven project where same class resides in two jars - main one and jar built from partly available sources. When I search for classes with Ctrl+N I want to select opensourced jar so that I could view sources. It worked for some time but now it doesn't bring opensourced jar in the list of found classes despite it is found in module libraries and even put on top of main jar in Dependencies. Is there something I can tweak/refresh/rebuild to get it working as before, i.e. have opensourced jar in Ctrl+N search results?

Best regards, Eugene.

3 comments
Comment actions Permalink

What IntelliJ IDEA version works "as before" and what version works as "now"?
Is it true that both jars are in the dependencies list of only one module and one of jars (i.e. one of libraries that has this har as Classes) has sources attached whereas the other one - doesn't?

0
Comment actions Permalink

Hi,

It's same version, same installation. All the assumptions are true.

Best regards, Eugene.

0
Comment actions Permalink

Although I'm already not sure if it was Ctrl+N which worked. It might have been Ctrl+Shit+N - it shows all the resources from both jars. These were my first attempts to use IntelliJ and I'm still lost in all the new shortcuts.
Sorry for taking your time and thank you for care.

Best regards, Eugene.

0

Please sign in to leave a comment.