mirror of https://github.com/apache/nifi.git
da593a2e8e
Thread.currentThread().getContextClassLoader().getResourceAsStream(...) works in UnitTest, but not if the NAR is deployed in /extensions folder. If you want to use the processer the resource 'file.txt' is not found. I changed this to 'getClass().getClassLoader()...' and its working as UnitTest and when deployed Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #3381 |
||
---|---|---|
.. | ||
nifi-nifi-example-nar | ||
nifi-nifi-example-processors | ||
pom.xml |