Member since 
    
	
		
		
		07-16-2019
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                2
            
            
                Posts
            
        
                1
            
            
                Kudos Received
            
        
                1
            
            
                Solution
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 9734 | 07-16-2019 12:56 PM | 
			
    
	
		
		
		08-14-2019
	
		
		11:58 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 After some messing around, I think I found an answer to this question.  I had the same problem, using Nifi 1.9.2. When I add a nar-file with my own processor to the extensions directory:  2019-08-14 09:29:55,591 INFO [NAR Auto-Loader] org.apache.nifi.nar.NarAutoLoaderTask Found .\extensions\nifi-neskio-nar-1.0-SNAPSHOT.nar in auto-load directory 
2019-08-14 09:30:00,593 INFO [NAR Auto-Loader] org.apache.nifi.nar.StandardNarLoader Starting load process for 1 NARs... 
2019-08-14 09:30:01,456 INFO [NAR Auto-Loader] org.apache.nifi.nar.StandardNarLoader Creating class loaders for 1 NARs... 
2019-08-14 09:30:01,473 INFO [NAR Auto-Loader] org.apache.nifi.nar.NarClassLoaders Loaded NAR file: C:\S\nifi-1.9.2\.\work\nar\extensions\nifi-neskio-nar-1.0-SNAPSHOT.nar-unpacked as class loader org.apache.nifi.nar.NarClassLoader[.\work\nar\extensions\nifi-neskio-nar-1.0-SNAPSHOT.nar-unpacked] 
2019-08-14 09:30:01,475 INFO [NAR Auto-Loader] org.apache.nifi.nar.StandardNarLoader Successfully created class loaders for 1 NARs, 0 were skipped 
2019-08-14 09:30:01,943 ERROR [NAR Auto-Loader] org.apache.nifi.NiFi An Unknown Error Occurred in Thread Thread[NAR Auto-Loader,5,main]: java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.standard.CalculateRecordStats could not be instantiated 
2019-08-14 09:30:01,946 ERROR [NAR Auto-Loader] org.apache.nifi.NiFi java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.standard.CalculateRecordStats could not be instantiated  etcetera... (The HTML editor keeps forgetting newlines, so the above may look garbled.)      I tried to add a dependency in my pom-file, hoping that org/apache/nifi/serialization/RecordReaderFactory could then be found:         <dependency>
         <groupId>org.apache.nifi</groupId>
         <artifactId>nifi-record-serialization-service-api</artifactId>
       </dependency>  This still gives the same exception.  Then I read this blog post, which advises to omit the dependency on nifi-standard-processors. That works, but now I cannot use annotations like  @SeeAlso({PutFile.class, GetFile.class, FetchFile.class})  I am still finding out what to do if I do want to have nifi-standard-processors.     
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-16-2019
	
		
		12:56 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 Instead of using local-name, you can also do this:  //*:textNOTAM  This has a wildcard for the namespace prefix, and the element name in the place where you would expect it.  This tends to be more readable for longer XPaths like  /*:feed/*:entry/*:title 
						
					
					... View more