Home > Back-end >  Defining @Annotations shows full package path instead of the @Annotation
Defining @Annotations shows full package path instead of the @Annotation

Time:09-09

how can i possibly fix this i don't want to see the full package path.. help enter image description here

I have not found info regarding this...

CodePudding user response:

At the top, add this:

import org.springframework.web.bind.annotation.RestController;

@RestController
public class RestController
  • Related