Erro 404 ao fazer o deploy no spring

Pessoal, estou tentando subir um servidor pelo tomcat seguindo um curso em vídeo, o problema é que ao gerar o war, colocar na pasta webapps e subir o tomcat, não consigo acessar minhas urls, aparece o seguinte erro:

HTTP Status 404 – Não Encontrado

Type Status Report

Message The requested resource [/aprendizado] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.37

Vou postar meu Pom.xml:

<?xml version="1.0" encoding="UTF-8"?>


4.0.0

org.springframework.boot
spring-boot-starter-parent
2.3.2.RELEASE


testegroup
TesteAprendizado
0.0.1-SNAPSHOT
war
TesteAprendizado
Teste Curso de spring boot

<properties>
	<java.version>11</java.version>
	<maven.test.skip>true</maven.test.skip>
</properties>

<dependencies>
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-data-jpa</artifactId>
	</dependency>

	<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-jdbc -->
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-jdbc</artifactId>
	</dependency>

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-data-rest</artifactId>
	</dependency>

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-web</artifactId>
	</dependency>

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-tomcat</artifactId>
		<scope>provided</scope>
	</dependency>

	<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
	<dependency>
		<groupId>org.postgresql</groupId>
		<artifactId>postgresql</artifactId>
	</dependency>

	<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools -->
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-devtools</artifactId>
		<scope>runtime</scope>
	</dependency>

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-test</artifactId>
		<scope>test</scope>
		<exclusions>
			<exclusion>
				<groupId>org.junit.vintage</groupId>
				<artifactId>junit-vintage-engine</artifactId>
			</exclusion>
		</exclusions>
	</dependency>


</dependencies>

<build>
	<plugins>
		<plugin>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-maven-plugin</artifactId>
		</plugin>
	</plugins>
</build>

Voce esta usando spring, deve ser algum problema nas classes de conf, posta elas ai

Esse é o IndexController

@RestController
@RequestMapping(value = “/primeiroLink”)
public class IndexController {

@Autowired
private UsuarioRepository usuarioRepository;

@GetMapping(value = "/{id}", produces = "application/json")
public ResponseEntity<Usuario> Init(@PathVariable (value = "id") Long id) {

	Optional<Usuario> usuario = usuarioRepository.findById(id);
	
	return new ResponseEntity<Usuario>(usuario.get(), HttpStatus.OK); //REPARE QUE AQUI MUDOU
}

@GetMapping(value = "/", produces = "application/json")
public ResponseEntity<List<Usuario>> usuario(){
	
	List<Usuario> list = (List<Usuario>) usuarioRepository.findAll();
			
	return new ResponseEntity<List<Usuario>>(list, HttpStatus.OK);
	
}

@PostMapping(value = "/add", produces = "application/json")	
public ResponseEntity<Usuario> cadastrar(@RequestBody Usuario usuario){
	
	for(int pos = 0; pos < usuario.getTelefones().size(); pos++) {
		usuario.getTelefones().get(pos).setUsuario(usuario);
	}
	
	Usuario usuarioSalvo = usuarioRepository.save(usuario);

	return new ResponseEntity<Usuario>(usuarioSalvo, HttpStatus.OK);
}

@PutMapping(value = "/alter", produces = "application/json")	
public ResponseEntity<Usuario> alterar(@RequestBody Usuario usuario){
	
	for(int pos = 0; pos < usuario.getTelefones().size(); pos++) {
		usuario.getTelefones().get(pos).setUsuario(usuario);
	}
	
	Usuario usuarioSalvo = usuarioRepository.save(usuario);

	return new ResponseEntity<Usuario>(usuarioSalvo, HttpStatus.OK);
}

@DeleteMapping(value = "/del{id}", produces = "application/json")
public String Deletar(@PathVariable (value = "id") Long id) {
	usuarioRepository.deleteById(id);
	return "ok";
}

}

A Application:

@SpringBootApplication
@EntityScan(basePackages = {“TesteAprendizado.model”})
@ComponentScan(basePackages = {“TesteAprendizado.*”})
@EnableJpaRepositories(basePackages = {“TesteAprendizado.repository”})
@EnableTransactionManagement
@EnableWebMvc
@RestController
@EnableAutoConfiguration
public class TesteAprendizadoApplication extends SpringBootServletInitializer {

public static void main(String[] args) {
	SpringApplication.run(TesteAprendizadoApplication.class, args);
}

}

e o Repository

package TesteAprendizado.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import TesteAprendizado.model.Usuario;

@Repository
public interface UsuarioRepository extends CrudRepository<Usuario, Long> {

}

nao existe essa rota mapeada no seu controller. voce colocou /primeiroLink tudo parte dele