did you know you can use a device called a mouse and using your hand you can move it over to the red line and by the force of magic the IDE will tell you what's wrong?
Are we supposed to guess where the exception points in your code and then guess the code itself and then magically come up with a solution?
did you just add @SuppressWarnings("OptionalGetWithoutIsPresent") to the class? 😂
@Override public Collection<? extends GrantedAuthority> getAuthorities() { return Arrays.asList(new SimpleGrantedAuthority(role.getRole())); }
can't find it or didn't search it?
Ever worked on maintaining large project that was written 5 years ago?
Do you want me to send you tools.jar and try putting it there?
Then what will this print? logger.info("Updating user:"+email+" to role:"+role+" by ADMIN:"+auth.getName());
Who uses netbeans in 2019?
can you please hover over the error and send the message that appears here?
if i may ask Do you actually need the OCA? been doing java ee for two years now and i'm thinking about getting it
Have you checked this? https://stackoverflow.com/questions/11345193/gradle-does-not-find-tools-jar
are you waiting in between the two reads in the server?
you want me to help you with the project or make it for you?
are you sure you're not accessing the user ArrayList anywhere?
are you overriding the method toString in your Role entity?
what do you mean by mocking a method of a repository?
you have the datasource settings in your properties right?
Are you asking us to help you do the whole task?
And the interface will be injected at the constructor right?