You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Não é a a primeira vez que esse erro acontece mesmo eu seguindo todos os passo a passo, eu não faço ideia do que ocorre e já não sei o que fazer.
"
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Oct 16 10:59:23 BRT 2024
There was an unexpected error (type=Not Found, status=404).
"
O curioso é que não apresenta nenhum erro no terminal, então não há como rastrear.
Bom dia,
Não é a a primeira vez que esse erro acontece mesmo eu seguindo todos os passo a passo, eu não faço ideia do que ocorre e já não sei o que fazer.
"
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Oct 16 10:59:23 BRT 2024
There was an unexpected error (type=Not Found, status=404).
"
O curioso é que não apresenta nenhum erro no terminal, então não há como rastrear.
Meu codigo das principais e referente ao caso
package springjpa.controller;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.support.ServletUriComponentsBuilder;
import springjpa.model.User;
import springjpa.repository.UserRepository;
import springjpa.service.UserService;
import java.net.URI;
import java.util.List;
@RestController
@RequestMapping(value = "/users")
public class UserController {
}
do repository
package springjpa.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import springjpa.model.User;
@repository
public interface UserRepository extends JpaRepository<User, Long> {
}
da implementação
package springjpa.service.impl;
import org.springframework.stereotype.Service;
import springjpa.model.User;
import springjpa.repository.UserRepository;
import springjpa.service.UserService;
import java.util.List;
import java.util.NoSuchElementException;
@service
public class UserServiceImpl implements UserService {
só não tenho o yml ainda, mas pelo que sei ele serve apenas pra ter acesso a tabela correto
The text was updated successfully, but these errors were encountered: