Erro ao salvar formulário | Fórum | School of Net

Deseja poder participar de nosso fórum e tirar todas as suas dúvidas?
Clique aqui e assine nosso plano de acesso ilimitado. Saiba mais.

por Rodrigo

1 semana, 1 dia atrás Rodrigo

Erro ao salvar formulário

Leonan, ao salvar o registro do formulário, o console ta retornando o seguinte erro: Esse aqui no Chrome ``` Failed to load http://localhost:8080/tasks: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 403. ``` e Esse aqui no Eclipse``` Resolved exception caused by Handler execution: org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/jason;charset=UTF-8' not supported ```

2 Respostas