[ 
https://issues.apache.org/jira/browse/NIFI-7693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joey Frazee updated NIFI-7693:
------------------------------
    Description: 
NiFi cannot start using early Java 11 releases including Java 11 2018-09-25. It 
throws

{{2020-07-30 11:21:39,609 ERROR [main] o.s.web.context.ContextLoader Context 
initialization failed}}

{{org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.springframework.context.event.internalEventListenerProcessor': 
BeanPostProcessor before instantiation of bean failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 
'methodSecurityMetadataSource' while setting constructor argument; nested 
exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 
'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration':
 Unsatisfied dependency expressed through method 'setObjectPostProcessor' 
parameter 0; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 
'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration':
 Initialization of bean failed; nested exception is 
java.lang.IllegalArgumentException: warning Type pattern does not match because 
java.util.concurrent.Future is not a generic type}}

  was:
NiFi cannot start using early Java 11 releases including Java 11 2018-09-25. It 
throws

{{2020-07-30 11:21:39,609 ERROR [main] o.s.web.context.ContextLoader Context 
initialization failed}}
{{ org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.springframework.context.event.internalEventListenerProcessor': 
BeanPostProcessor before instantiation of bean failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 
'methodSecurityMetadataSource' while setting constructor argument; nested 
exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 
'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration':
 Unsatisfied dependency expressed through method 'setObjectPostProcessor' 
parameter 0; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 
'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration':
 Initialization of bean failed; nested exception is 
java.lang.IllegalArgumentException: warning Type pattern does not match because 
java.util.concurrent.Future is not a generic type}}


> BeanCreationException when starting NiFi on Java 11 2018-09-25
> --------------------------------------------------------------
>
>                 Key: NIFI-7693
>                 URL: https://issues.apache.org/jira/browse/NIFI-7693
>             Project: Apache NiFi
>          Issue Type: Bug
>         Environment: Java 11 2018-09-25
>            Reporter: Joey Frazee
>            Assignee: Joey Frazee
>            Priority: Major
>
> NiFi cannot start using early Java 11 releases including Java 11 2018-09-25. 
> It throws
> {{2020-07-30 11:21:39,609 ERROR [main] o.s.web.context.ContextLoader Context 
> initialization failed}}
> {{org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 
> 'org.springframework.context.event.internalEventListenerProcessor': 
> BeanPostProcessor before instantiation of bean failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 
> 'methodSecurityMetadataSource' while setting constructor argument; nested 
> exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 
> 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration':
>  Unsatisfied dependency expressed through method 'setObjectPostProcessor' 
> parameter 0; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 
> 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration':
>  Initialization of bean failed; nested exception is 
> java.lang.IllegalArgumentException: warning Type pattern does not match 
> because java.util.concurrent.Future is not a generic type}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to