cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

yb2bacceleratorstorefront blank after installation of punchoutaddon

Former Member
0 Likes
461

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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

arvind-kumar_avinash
Active Contributor
0 Likes

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