cancel
Showing results for 
Search instead for 
Did you mean: 

yb2bacceleratorstorefront blank after installation of punchoutaddon

Former Member
0 Kudos
163

There is a dependancy issue - for some reason the b2bRejectUserPreAuthenticationChecks can't be found despite beeing present.

ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPunchOutController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultPunchOutUserAuthenticationService' defined in class path resource [b2bpunchoutaddon/web/spring/b2bpunchoutaddon-spring-security-config.xml]: Cannot resolve reference to bean 'punchOutUserAuthenticationStrategy' while setting bean property 'punchOutUserAuthenticationStrategy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'punchOutUserAuthenticationStrategy' defined in class path resource [b2bpunchoutaddon/web/spring/b2bpunchoutaddon-spring-security-config.xml]: Cannot resolve reference to bean 'punchOutAuthenticationProvider' while setting bean property 'authenticationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'punchOutAuthenticationProvider' defined in class path resource [b2bpunchoutaddon/web/spring/b2bpunchoutaddon-spring-security-config.xml]: Cannot resolve reference to bean 'b2bRejectUserPreAuthenticationChecks' while setting bean property 'preAuthenticationChecks'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'b2bRejectUserPreAuthenticationChecks' available

former_member620692
Active Contributor
0 Kudos

You need to perform init/update after the installation.

Former Member
0 Kudos

This is mentoined in the installation guide. Sadly I does not prevent the issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Fixed the issue by redeclaring th b2bRejectUserPreAuthenticationChecks in acceleratorSotreFrontcommons - which did not happen by default

former_member620692
Active Contributor
0 Kudos

You can accept your own answer so that it will be useful to others.