JackHintonSmartDCSIT commented on PR #8691:
URL: https://github.com/apache/nifi/pull/8691#issuecomment-2155104199

   > @JackHintonSmartDCSIT Thank you for working on this processor. This will 
be very useful for many users. I may have gotten similar errors in the past. It 
sounds like you are using the pcap nar (compiled with the nifi main baseline 
that this PR is currently based on) and dropping it into a different nifi 
(maybe on the 1.x line or 2.0.0-M2 or 2.0.0-M1) Is that correct? nifi went 
through some restructuring between 2.0.0-M2 and 2.0.0-M3 which may have an 
effect on classloading rules which could be what is going on. Try dropping it 
in another 2.0.0-M3 nifi or put a copy of the code fix on another/new nifi 
branch (corresponding to whatever version the local nifi is using), compile and 
try using in that local nifi This may help with the error
   
   Thanks for the reply! I've fixed the issue - I did rebase the branch which 
may have helped but I think the real issue is that I was trying to get at the 
nar by changing the 'packaging' attribute of 'nifi-network-processors' in the 
pom to 'nar' from 'jar'. Turns out, that doesn't work properly. Running mvn 
package does, however.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to