Defining @Annotations shows full package path instead of the @Annotation

Viewed 11

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...

1 Answers

At the top, add this:

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

@RestController
public class RestController
Related