Apache Nifi 2.0-M2 integration with Apache Ignite 2.16 database - Exception java.lang.NoClassDefFoundError
Hi,
I have Nifi 2.0-M2 and Apache Ignite 2.16 database running on my localhost.
jdbc:ignite:thin://localhost:10800 (I am able to connect to Ignite localhost db from Dbeaver)
I have copied ignite-core-2.16.0.jar file to nifi lib directory (before starting nifi) and tried to create DBCPConnectionPool controller service in Nifi to connect to Ignite database.
DB Controller service returns the below error.
Failed to invoke @OnEnabled method: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.dbcp2.BasicDataSource - Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.ignite.IgniteJdbcThinDriver [in thread "Timer-Driven Process Thread-10"]
Can you let me know what am I missing here? Please let me know if more details are required.
Screenshot of DB controller service


