Hibernate: select m1_0.id,m1_0.ativo,m1_0.crm,m1_0.email,m1_0.id_endereco,m1_0.especialidade,m1_0.nome,m1_0.numero_telefone,m1_0.senha from tb_medico m1_0 where m1_0.email=? Hibernate: select e1_0.id,e1_0.bairro,e1_0.cep,e1_0.cidade,e1_0.complemento,e1_0.estado,e1_0.numero,e1_0.rua from endereco e1_0 where e1_0.id=? 2023-08-22T17:26:20.390-03:00 ERROR 18244 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.springframework.beans.NotReadablePropertyException: Invalid property 'accountNonLocked' of bean class [com.system.care.health.HealthAndCareSystem.models.Medico]: Could not find field for property during fallback access] with root cause
org.springframework.beans.NotReadablePropertyException: Invalid property 'accountNonLocked' of bean class [com.system.care.health.HealthAndCareSystem.models.Medico]: Could not find field for property during fallback access at org.springframework.data.util.DirectFieldAccessFallbackBeanWrapper.getPropertyValue(DirectFieldAccessFallbackBeanWrapper.java:55) ~[spring-data-commons-3.1.1.jar:3.1.1] at org.springframework.data.projection.PropertyAccessingMethodInterceptor.invoke(PropertyAccessingMethodInterceptor.java:70) ~[spring-data-commons-3.1.1.jar:3.1.1] at org.springframework.data.projection.ProjectingMethodInterceptor.invoke(ProjectingMethodInterceptor.java:71) ~[spring-data-commons-3.1.1.jar:3.1.1] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.10.jar:6.0.10] at org.springframework.data.projection.ProxyProjectionFactory$TargetAwareMethodInterceptor.invoke(ProxyProjectionFactory.java:243) ~[spring-data-commons-3.1.1.jar:3.1.1] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.10.jar:6.0.10] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:244) ~[spring-aop-6.0.10.jar:6.0.10] at jdk.proxy2/jdk.proxy2.$Proxy137.isAccountNonLocked(Unknown Source) ~[na:na] at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvi