package com.proyecto.forum.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestBody;
@Controller
public class Holacontroller {
    @RequestMapping("/")
    @RequestBody
    public String hola() {return "hola";}
}Cuando miro la anotacion de @RequestBody me aparece este cartel pero no se que significa The annotation @RequestBody is disallowed for this location
            
            
 
  
  