Pessoal estou desenvolvendo minha aplicação em Spring já tenho configurado as dependências do webjars no meu pom.xml:
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator</artifactId>
<version>0.36</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>3.6.1</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>5.2.0</version>
</dependency>
O meu html
<!DOCTYPE html>
<html lang="pt-br" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="ISO-8859-1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hospital Geral do Moxico</title>
<meta name="author" content="Anastácio Colembi">
<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body>
<!-- CABEÃALHO -->
<div th:replace="/fragmentos/fragmento :: cabecalho"></div>
<!-- FIM CABEÃALHO -->
<main role="main">
<hr>
<div class="container">
<div class="card">
<h4 class="card-header">
<strong>Editar Papel de Usuario</strong>
</h4>
<div class="card-body">
<form method="post" th:object="${usuario}" action="#"
th:action="@{/editarPapel/{idUsuario}(idUsuario=${usuario.idUsuario})}">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label for="nome">Nome</label> <input th:field="*{nome}"
disabled>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="nome">Nome de Usuário</label> <input
th:field="*{username}" disabled>
</div>
</div>
</div>
<div class="row mb-3">
<label class="col-sm-1 col-form-label">Ativado?</label>
<div class="col-sm-2">
<div class="form-check form-chech-inline">
<input class="form-check-input" type="radio" value="true"
th:field="*{ativo}"> <label class="form-check-label">Ativo</label>
</div>
</div>
<div class="col-sm-2">
<div class="form-check form-chech-inline">
<input class="form-check-input" type="radio" value="false"
th:field="*{ativo}"> <label class="form-check-label">Não Ativo</label>
</div>
</div>
</div>
<div class="row rb-3">
<label class="col-sm1 col-form-label">Papeis:</label>
<div class="col-sm-2">
<th:block th:each="listaPapeis: ${papeis}">
<div th:if="${#lists.contains(usuario.papeis,listaPapeis)}"
class="form-check">
<input class="form-check-input" type="checkbox" name="pps"
th:value="${listaPapeis.idPapel}" checked> <label
class="form-check-label" th:text="${listaPapeis.papel}"></label>
</div>
<div th:unless="${#lists.contains(usuario.papeis,listaPapeis)}"
class="form-check">
<input class="form-check-input" type="checkbox" name="pps"
th:value="${listaPapeis.idPapel}"> <label
class="form-check-label" th:text="${listaPapeis.papel}"></label>
</div>
</th:block>
</div>
<div class="col-md-5">
<span class="mensagem" th:if="${mensagem}" th:text="${mensagem}">
</span>
</div>
</div>
<hr>
<button type="submit" title="Alterar Papel"
class="btn btn-primary">Alterar</button>
</form>
</div>
</div>
</div>
<!-- /container -->
</main>
<script src="/webjars/jquery/3.6.1/jquery.min.js"></script>
<script src="/webjars/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
Lá no meu front, quando carrego a minha página, dá este erro na console:
GET http://localhost:8080/editarPapel/webjars/jquery/3.6.1/jquery.min.js net::ERR_ABORTED 404
Preciso de help galeira!