You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Brendan Rebuck <br...@gmail.com> on 2018/04/17 20:20:43 UTC
Nifi Custom Processor Import Error
I am currently working on creating a custom processor. I have library
downloaded and referenced for nifi-api-1.5.0.jar.
When I use the "import org.apache.nifi.expression.ExpressionLanguageScope"
It gives me "error: cannot find symbol
[ERROR] symbol: class ExpressionLanguageScope
[ERROR] location: package org.apache.nifi.expression"
I have looked into the .jar file I am using and it doesn't have the
ExpressionLanguageScope.class. I see that the file should be in there at "
https://github.com/apache/nifi/tree/master/nifi-api/src/main/java/org/apache/nifi/expression
".
Any help on resolving this issue would be great. Thank you.
Re: Nifi Custom Processor Import Error
Posted by Pierre Villard <pi...@gmail.com>.
Hi,
It's not in 1.5.0/1.6.0. It's only in master code at the moment.
Pierre
2018-04-17 23:17 GMT+02:00 Mike Thomsen <mi...@gmail.com>:
> It was added after 1.5. Might be on 1.6. Definitely in 1.7.0-Snapshot.
> On Tue, Apr 17, 2018 at 4:56 PM Brendan Rebuck <br...@gmail.com>
> wrote:
>
> > I am currently working on creating a custom processor. I have library
> > downloaded and referenced for nifi-api-1.5.0.jar.
> >
> > When I use the "import org.apache.nifi.expression.
> ExpressionLanguageScope"
> >
> > It gives me "error: cannot find symbol
> > [ERROR] symbol: class ExpressionLanguageScope
> > [ERROR] location: package org.apache.nifi.expression"
> >
> > I have looked into the .jar file I am using and it doesn't have the
> > ExpressionLanguageScope.class. I see that the file should be in there at
> "
> >
> > https://github.com/apache/nifi/tree/master/nifi-api/src/
> main/java/org/apache/nifi/expression
> > ".
> >
> > Any help on resolving this issue would be great. Thank you.
> >
>
Re: Nifi Custom Processor Import Error
Posted by Sivaprasanna <si...@gmail.com>.
You have to build it locally after downloading or cloning.
-
Sivaprasanna
On Fri, 20 Apr 2018 at 4:16 PM, rishabprasad005 <ri...@gmail.com>
wrote:
> How can we download a maven dependency for nifi having version
> "1.7.0-SNAPSHOT". I tried doing this but gets an error since the latest
> version is 1.6.0.
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>
Re: Nifi Custom Processor Import Error
Posted by rishabprasad005 <ri...@gmail.com>.
How can we download a maven dependency for nifi having version
"1.7.0-SNAPSHOT". I tried doing this but gets an error since the latest
version is 1.6.0.
--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
Re: Nifi Custom Processor Import Error
Posted by Mike Thomsen <mi...@gmail.com>.
It was added after 1.5. Might be on 1.6. Definitely in 1.7.0-Snapshot.
On Tue, Apr 17, 2018 at 4:56 PM Brendan Rebuck <br...@gmail.com>
wrote:
> I am currently working on creating a custom processor. I have library
> downloaded and referenced for nifi-api-1.5.0.jar.
>
> When I use the "import org.apache.nifi.expression.ExpressionLanguageScope"
>
> It gives me "error: cannot find symbol
> [ERROR] symbol: class ExpressionLanguageScope
> [ERROR] location: package org.apache.nifi.expression"
>
> I have looked into the .jar file I am using and it doesn't have the
> ExpressionLanguageScope.class. I see that the file should be in there at "
>
> https://github.com/apache/nifi/tree/master/nifi-api/src/main/java/org/apache/nifi/expression
> ".
>
> Any help on resolving this issue would be great. Thank you.
>