role should not start with ‘ROLE_’ since it is automatically inserted. Got ‘ROLE_ADMIN’

Caused by: java.lang.IllegalArgumentException: role should not start with ‘ROLE_’ since it is automatically inserted. Got ‘ROLE_ADMIN’ org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘springSecurityFilterChain’ defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean…

Read More
Spring Security Example

Spring Security Example

Here is Spring Security Example using Java Configuration. Spring Security provides comprehensive security services for Java EE-based enterprise software applications. There is a particular emphasis on supporting projects built using…

Read More
java 9 tutorial

Java 9 tutorial

Here is Java 9 tutorial and Java 9 features with examples and detail explanation like Java 9 module system, Java 9 jshell, Java 9 process API improvements, Java 9 reactive…

Read More
JAVA SORT MAP

Java Sort Map

Here is Java Sort Map By Key example and Java Sort Map By Value example: Java Sort Map By Key Example java.util.Map<Integer, String> map = new HashMap(); map.put(1, “Jone”); map.put(6, “Araya”);…

Read More