I am create page Login in Spring Security and primefaces 7.0 with Theme Serenity, my problem is when load page Login , my app find bean GrestPreferences, and it's now not have user.
2019-09-27 17:01:19.728 ERROR 41292 --- [nio-8081-exec-1] o.p.a.e.PrimeExceptionHandler : Error creating bean with name 'scopedTarget.guestPreferences': Invocation of init method failed; nested exception is java.lang.NullPointerException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.guestPreferences':
But, I register with a page by default of Spring-security, I not have problems with my application and configure the theme with SERENITY success.
I'm developed page Login, and setter Guest Preferences basicas, this bean is empty (configured theme default blue/blue), my question ? how reload my bean preferences with Bean-Preferences-of-my-user in my menu, with Java?????.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest