Did you declare a dependency on nifi-dbcp-service-api? If not, you have to do that and set the scope to "provided.
On Tue, Apr 17, 2018 at 7:05 AM Rishab Prasad <[email protected]> wrote: > Hi, > > I am trying to create a custom processor equivalent to that of > ListDatabaseTable. I copied and pasted the source code of > ListDatabaseTableand > used the same for my custom processor. But I am getting the following > error: - > > [image: enter image description here] <https://i.stack.imgur.com/370N8.png > > > > The error says *The import org.apache.nifi.dbcp.DBCPService cannot be > resolved*. I tried downloading this jar file > < > https://mvnrepository.com/artifact/org.apache.nifi/nifi-dbcp-service/1.5.0 > > > for org.apache.nifi.dbcp and added it as an external jar in my build path. > The error still can't be resolved. How can i resolve this error? > >
