
Version: latest
Make sure the project is added as a Maven project and all the specified dependencies in the pom.xml file are shown in Maven Projects tab
If you are getting an error saying Failed to load the dependencies form the pom.xml file. Is the pom.xml file valid?,
then make sure you have specified a valid Project SDK under project structure (File → Project Structure…
)
You need to specify Oracle JDK as the IDEA’s running JDK. In order to do that, press bd:[shift] key twice and type
Switch IDE boot JDK
and execute that action. Next, from the dialog window, select the Oracle JDK and restart IDEA
This can happen if:
the dependency (connector/processor) corresponding to the missing element, or one of its transitive dependencies, has been removed from the project; revise your dependency tree, and check the Event Log and IDEA log for details.
the flow contains custom connectors/processing elements (written under src/main/java/
), which have not been compiled yet;
compile or recompile your project/module, or the specific connector/processor class.
you are developing on JDK 9+, and some connector/processor or a transitive dependency relies on a Java package/module
that is not loaded by default, or has been removed completely from the JDK distro (e.g. javax.xml.bind
packages for JAXB);
you can either:
tune your project settings to include/load the required module (you will repeat this in the final ESB deployment), or
add the required package explicitly, as an external dependency
(e.g. javax.xml.bind:jaxb-api
and com.sun.xml.bind:jaxb-impl
for JAXB)
In either case, refreshing or closing-and-reopening the flow file after the problem is fixed, should resolve the issue.