79805398

Date: 2025-10-31 04:37:38
Score: 5.5
Natty:
Report link

Gracias a la respuesta de:

Vijay Mohan RangarajuApr 6 at 12:54

Hey @user29023248, thanks a lot for your tip! I did try restricting RestControllerAdvice annotation using basePackages as you suggested — it was a solid direction. But even after that, Swagger still wasn’t loading properly. That’s when ChatGPT suggested using the Hidden annotation on our error handler methods to prevent Swagger from processing them. Once Idid that, everything worked perfectly. Your view on this helped me to solve this issue. Appreciate your input — it definitely helped me get on the right track!

pude encontrar el error, me di cuenta que cuando globalizas los errrores en los controllers o exceptions, haces que el verdaderos errores no aparezcan, pero con un solo

@RestControllerAdvice(basePackages = "com.uni.dev.demo.controller")

que me ayudo a controlar especificamente donde hacer

las exception

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (2): Gracias
  • RegEx Blacklisted phrase (2): encontrar
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @user29023248
  • Low reputation (1):
Posted by: Jhoseph Duort