I am using IntelliJ 2016, and I have some Maven dependencies (for developing ImageJ plugins) that I added successfully, two external libraries are displayed as jar files. I added them to the structure structure of the project → module →, and they are correctly displayed in external libraries, classes are displayed inside them, and the dependency area is configured to compile.
One of them is successfully imported, and the other is not. The one that works is located in a subfolder of the bank
import fiji.threshold.Auto_Local_Threshold;
the other is directly below the bank, and the name is not recognized when you try:
import MultipleKymograph_;
I cannot change the path or declare a package for MultipleKymograph_ Dependencies are imported using POM and should be fine. I saw similar questions, and I tried to invalidate the Intellij cache. my project is in the package com.ycompany.imagej. I think the key here is that the specific classes that I cannot access are directly in the jars.
enter image description here
source
share