From 53d7fe5a801b2f4cb3c883c3dcc4da743e82a12b Mon Sep 17 00:00:00 2001 From: jleroy Date: Thu, 2 May 2024 11:57:42 +0200 Subject: [PATCH] patch fin projet v1 --- .gitignore | 1 + build.gradle | 1 + .../fr/eni/enchere/bll/ArticleService.java | 1 + .../eni/enchere/bll/ArticleServiceImpl.java | 5 + .../fr/eni/enchere/bll/EnchereService.java | 1 + .../eni/enchere/bll/EnchereServiceImpl.java | 5 + .../java/fr/eni/enchere/bll/FileService.java | 12 + src/main/java/fr/eni/enchere/bo/Enchere.java | 12 +- .../controllers/AccueilController.java | 12 +- .../enchere/controllers/AdminController.java | 39 +- .../controllers/ArticleController.java | 3 +- .../enchere/controllers/LoginController.java | 22 +- .../fr/eni/enchere/dal/ArticleRepository.java | 1 + .../enchere/dal/ArticleRepositoryImpl.java | 7 + .../fr/eni/enchere/dal/EnchereRepository.java | 1 + .../enchere/dal/EnchereRepositoryImpl.java | 10 +- .../eni/enchere/dal/UserRepositoryImpl.java | 14 +- .../fr/eni/enchere/security/LoginService.java | 6 +- src/main/resources/logs/eni.log | 2106 +++++++++++++++++ src/main/resources/templates/accueil.html | 3 +- .../resources/templates/security/login.html | 4 +- 21 files changed, 2226 insertions(+), 40 deletions(-) create mode 100644 src/main/java/fr/eni/enchere/bll/FileService.java diff --git a/.gitignore b/.gitignore index c2065bc..42ce27c 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ out/ /dist/ /nbdist/ /.nb-gradle/ +/src/main/resources/logs/eni.log ### VS Code ### .vscode/ diff --git a/build.gradle b/build.gradle index 706f984..d4190bf 100644 --- a/build.gradle +++ b/build.gradle @@ -31,6 +31,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-jdbc' implementation 'org.mariadb.jdbc:mariadb-java-client:2.2.0' + compileOnly 'javax.servlet:javax.servlet-api:4.0.1' //Mail implementation 'org.springframework.boot:spring-boot-starter-mail' implementation 'jakarta.mail:jakarta.mail-api' diff --git a/src/main/java/fr/eni/enchere/bll/ArticleService.java b/src/main/java/fr/eni/enchere/bll/ArticleService.java index 15bddee..9ce1d58 100644 --- a/src/main/java/fr/eni/enchere/bll/ArticleService.java +++ b/src/main/java/fr/eni/enchere/bll/ArticleService.java @@ -10,6 +10,7 @@ import java.util.List; public interface ArticleService { List
findAllArticle(); + List
findByUser(int id); Article findArticleById(int id); int saveArticle(Article article); void deleteArticle(int id); diff --git a/src/main/java/fr/eni/enchere/bll/ArticleServiceImpl.java b/src/main/java/fr/eni/enchere/bll/ArticleServiceImpl.java index 511c8cd..d3c9840 100644 --- a/src/main/java/fr/eni/enchere/bll/ArticleServiceImpl.java +++ b/src/main/java/fr/eni/enchere/bll/ArticleServiceImpl.java @@ -22,6 +22,11 @@ public class ArticleServiceImpl implements ArticleService{ return articleRepository.findAllArticle(); } + @Override + public List
findByUser(int id) { + return articleRepository.findByUser(id); + } + @Override public Article findArticleById(int id) { return articleRepository.findArticleById(id); diff --git a/src/main/java/fr/eni/enchere/bll/EnchereService.java b/src/main/java/fr/eni/enchere/bll/EnchereService.java index c547f18..94e1ac3 100644 --- a/src/main/java/fr/eni/enchere/bll/EnchereService.java +++ b/src/main/java/fr/eni/enchere/bll/EnchereService.java @@ -9,4 +9,5 @@ public interface EnchereService { List enchereByUser(int idUser); List enchereByArticle(int idArticle); void setEnchere(Enchere enchere); + void delete(int id); } diff --git a/src/main/java/fr/eni/enchere/bll/EnchereServiceImpl.java b/src/main/java/fr/eni/enchere/bll/EnchereServiceImpl.java index 2d0cb68..f68face 100644 --- a/src/main/java/fr/eni/enchere/bll/EnchereServiceImpl.java +++ b/src/main/java/fr/eni/enchere/bll/EnchereServiceImpl.java @@ -34,4 +34,9 @@ public class EnchereServiceImpl implements EnchereService{ public void setEnchere(Enchere enchere) { enchereRepository.save(enchere); } + + @Override + public void delete(int id) { + enchereRepository.deleteArticle(id); + } } diff --git a/src/main/java/fr/eni/enchere/bll/FileService.java b/src/main/java/fr/eni/enchere/bll/FileService.java new file mode 100644 index 0000000..928dc52 --- /dev/null +++ b/src/main/java/fr/eni/enchere/bll/FileService.java @@ -0,0 +1,12 @@ +package fr.eni.enchere.bll; + +import java.nio.file.Files; +import java.nio.file.Paths; + +public class FileService { + + public boolean fileExists(String filePath) { + return Files.exists(Paths.get(filePath)); + } + +} diff --git a/src/main/java/fr/eni/enchere/bo/Enchere.java b/src/main/java/fr/eni/enchere/bo/Enchere.java index 4b61c6d..05a83bf 100644 --- a/src/main/java/fr/eni/enchere/bo/Enchere.java +++ b/src/main/java/fr/eni/enchere/bo/Enchere.java @@ -10,15 +10,17 @@ public class Enchere { private int noArticle; private Date dateEnchere; private float montantEnchere; + private boolean isDelete; public Enchere(){} - public Enchere(int noUtilisateur, int noArticle, String pseudoUtilisateur, Date dateEnchere, float montantEnchere ) { + public Enchere(int noUtilisateur, int noArticle, String pseudoUtilisateur, Date dateEnchere, float montantEnchere, boolean isDelete) { setNoUtilisateur(noUtilisateur); setPseudoUtilisateur(pseudoUtilisateur); setNoArticle(noArticle); setDateEnchere(dateEnchere); setMontantEnchere(montantEnchere); + setDelete(isDelete); } public int getId() { @@ -68,4 +70,12 @@ public class Enchere { public void setPseudoUtilisateur(String pseudoUtilisateur) { this.pseudoUtilisateur = pseudoUtilisateur; } + + public boolean isDelete() { + return isDelete; + } + + public void setDelete(boolean delete) { + isDelete = delete; + } } diff --git a/src/main/java/fr/eni/enchere/controllers/AccueilController.java b/src/main/java/fr/eni/enchere/controllers/AccueilController.java index 23ad943..92ec0f3 100644 --- a/src/main/java/fr/eni/enchere/controllers/AccueilController.java +++ b/src/main/java/fr/eni/enchere/controllers/AccueilController.java @@ -1,15 +1,13 @@ package fr.eni.enchere.controllers; -import fr.eni.enchere.bll.ArticleService; -import fr.eni.enchere.bll.CategorieService; -import fr.eni.enchere.bll.UserService; -import fr.eni.enchere.bll.UserServiceImpl; +import fr.eni.enchere.bll.*; import fr.eni.enchere.bo.Article; import fr.eni.enchere.bo.SearchArticleCritere; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.security.core.annotation.AuthenticationPrincipal; @@ -30,17 +28,19 @@ import java.util.Locale; @SessionAttributes({"searchTitle", "searchCategory", "venteOptions", "achatOptions", "typeTransaction"}) public class AccueilController { + @Autowired private static final Logger logger = LoggerFactory.getLogger(AccueilController.class); private ArticleService articleService; private CategorieService categorieService; private UserService userService; + private FileService fileService; - - public AccueilController(ArticleService articleService, CategorieService categorieService, UserService userService) { + public AccueilController(ArticleService articleService, CategorieService categorieService, UserService userService, FileService fileService) { super(); this.categorieService = categorieService; this.articleService = articleService; this.userService = userService; + this.fileService = fileService; } diff --git a/src/main/java/fr/eni/enchere/controllers/AdminController.java b/src/main/java/fr/eni/enchere/controllers/AdminController.java index 61cd8dd..83f3787 100644 --- a/src/main/java/fr/eni/enchere/controllers/AdminController.java +++ b/src/main/java/fr/eni/enchere/controllers/AdminController.java @@ -1,25 +1,34 @@ package fr.eni.enchere.controllers; +import fr.eni.enchere.bll.ArticleService; import fr.eni.enchere.bll.CategorieService; +import fr.eni.enchere.bll.EnchereService; import fr.eni.enchere.bll.UserService; +import fr.eni.enchere.bo.Article; import fr.eni.enchere.bo.Categorie; -import fr.eni.enchere.dal.UserRepositoryImpl; +import fr.eni.enchere.bo.Enchere; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.*; +import java.util.List; + @Controller @RequestMapping("/admin") public class AdminController { - private final UserRepositoryImpl userRepositoryImpl; + @Autowired + private ArticleService articleService; + private EnchereService enchereService; private UserService userService; private CategorieService categorieService; - public AdminController(UserService userService, CategorieService categorieService, UserRepositoryImpl userRepositoryImpl) { + public AdminController(UserService userService, CategorieService categorieService, ArticleService articleService, EnchereService enchereService) { this.userService = userService; this.categorieService = categorieService; - this.userRepositoryImpl = userRepositoryImpl; + this.articleService = articleService; + this.enchereService = enchereService; } @GetMapping @@ -60,6 +69,16 @@ public class AdminController { @PostMapping("/delete") public String deleteUser(@RequestParam("userDelete") int id) { userService.deleteUtilisateur(id); + //Annuler les ventes en cours + List
userArticles = articleService.findByUser(id); + for (Article article : userArticles) { + articleService.deleteArticle(article.getId()); + } + //Annuler les enchères en cours + List userEnchere = enchereService.enchereByUser(id); + for (Enchere enchere : userEnchere) { + enchereService.delete(enchere.getId()); + } return "redirect:/admin"; } @@ -69,8 +88,16 @@ public class AdminController { userService.enableUtilisateur(id); }else { userService.disableUtilisateur(id); - //Désactiver tout - + //Annuler les ventes en cours + List
userArticles = articleService.findByUser(id); + for (Article article : userArticles) { + articleService.deleteArticle(article.getId()); + } + //Annuler les enchères en cours + List userEnchere = enchereService.enchereByUser(id); + for (Enchere enchere : userEnchere) { + enchereService.delete(enchere.getId()); + } } return "redirect:/admin"; } diff --git a/src/main/java/fr/eni/enchere/controllers/ArticleController.java b/src/main/java/fr/eni/enchere/controllers/ArticleController.java index 9cfa474..bef372e 100644 --- a/src/main/java/fr/eni/enchere/controllers/ArticleController.java +++ b/src/main/java/fr/eni/enchere/controllers/ArticleController.java @@ -36,7 +36,8 @@ public class ArticleController { private RetraitService retraitService; private EnchereService enchereService; - public ArticleController(ArticleService articleService, UserService userService, CategorieService categorieService, RetraitService retraitService, EnchereService enchereService) { + public ArticleController(ArticleService articleService, UserService userService, CategorieService categorieService, + RetraitService retraitService, EnchereService enchereService) { this.articleService = articleService; this.userService = userService; this.categorieService = categorieService; diff --git a/src/main/java/fr/eni/enchere/controllers/LoginController.java b/src/main/java/fr/eni/enchere/controllers/LoginController.java index 96ccf56..197ea80 100644 --- a/src/main/java/fr/eni/enchere/controllers/LoginController.java +++ b/src/main/java/fr/eni/enchere/controllers/LoginController.java @@ -2,15 +2,15 @@ package fr.eni.enchere.controllers; import fr.eni.enchere.bll.UserService; import fr.eni.enchere.bo.UserProfil; +import jakarta.servlet.http.Cookie; +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.*; @Controller @RequestMapping("/login") @@ -19,17 +19,17 @@ public class LoginController { @Autowired private UserService userService; - public LoginController(UserService userService) { - super(); - this.userService = userService; - } - @GetMapping public String login(Model modele) { + //Début cookie + String savedUsername = ""; + String savedPassword = ""; Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); if (!authentication.getName().equals("anonymousUser")){ return "redirect:/enchere"; } + modele.addAttribute("savedUsername", savedUsername); + modele.addAttribute("savedPassword", savedPassword); return "security/login"; } @@ -39,8 +39,8 @@ public class LoginController { if (user != null && user.getPassword().equals(password)) { return "redirect:/enchere"; } else { - return "redirect:/security/login?error"; + return "redirect:/login?error"; } } - } + diff --git a/src/main/java/fr/eni/enchere/dal/ArticleRepository.java b/src/main/java/fr/eni/enchere/dal/ArticleRepository.java index 3f2d7a2..295760d 100644 --- a/src/main/java/fr/eni/enchere/dal/ArticleRepository.java +++ b/src/main/java/fr/eni/enchere/dal/ArticleRepository.java @@ -9,6 +9,7 @@ import java.util.List; public interface ArticleRepository { List
findAllArticle(); + List
findByUser(int id); Page
searchArticlePageable(SearchArticleCritere critere, Pageable pageable); Article findArticleById(int id); List
findArticleByTitle(String title); diff --git a/src/main/java/fr/eni/enchere/dal/ArticleRepositoryImpl.java b/src/main/java/fr/eni/enchere/dal/ArticleRepositoryImpl.java index d2ff282..136abd5 100644 --- a/src/main/java/fr/eni/enchere/dal/ArticleRepositoryImpl.java +++ b/src/main/java/fr/eni/enchere/dal/ArticleRepositoryImpl.java @@ -90,6 +90,13 @@ public class ArticleRepositoryImpl implements ArticleRepository { return articles; } + @Override + public List
findByUser(int id) { + String sql = "SELECT * FROM ARTICLES_VENDUS WHERE no_utilisateur = ? AND isDelete = 0"; + List
articles = jdbcTemplate.query(sql, new ArticleRowMapper(), id); + return articles; + } + @Override public Page
searchArticlePageable(SearchArticleCritere critere, Pageable pageable) { StringBuilder sql = new StringBuilder("SELECT DISTINCT a.*, u.* FROM ARTICLES_VENDUS a "); diff --git a/src/main/java/fr/eni/enchere/dal/EnchereRepository.java b/src/main/java/fr/eni/enchere/dal/EnchereRepository.java index cf57739..bc3a604 100644 --- a/src/main/java/fr/eni/enchere/dal/EnchereRepository.java +++ b/src/main/java/fr/eni/enchere/dal/EnchereRepository.java @@ -9,4 +9,5 @@ public interface EnchereRepository { List findByIdUser(int idUser); List findByIdArticle(int idArticle); void save(Enchere enchere); + void deleteArticle(int idArticle); } diff --git a/src/main/java/fr/eni/enchere/dal/EnchereRepositoryImpl.java b/src/main/java/fr/eni/enchere/dal/EnchereRepositoryImpl.java index 6d02d58..00fbcd0 100644 --- a/src/main/java/fr/eni/enchere/dal/EnchereRepositoryImpl.java +++ b/src/main/java/fr/eni/enchere/dal/EnchereRepositoryImpl.java @@ -46,7 +46,9 @@ public class EnchereRepositoryImpl implements EnchereRepository { @Override public List findByIdUser(int idUser) { - return List.of(); + String sql = "SELECT * FROM ENCHERES WHERE no_utilisateur = ? AND isDelete = 0"; + List encheres = jdbcTemplate.query(sql, new EnchereRowMapper(), idUser); + return encheres; } @Override @@ -65,4 +67,10 @@ public class EnchereRepositoryImpl implements EnchereRepository { enchere.setId(keyHolder.getKey().intValue()); } } + + @Override + public void deleteArticle(int idArticle) { + String sql = "UPDATE ENCHERES SET isDelete = 1 WHERE id = ?"; + jdbcTemplate.update(sql, idArticle); + } } diff --git a/src/main/java/fr/eni/enchere/dal/UserRepositoryImpl.java b/src/main/java/fr/eni/enchere/dal/UserRepositoryImpl.java index 19ffe84..47e6519 100644 --- a/src/main/java/fr/eni/enchere/dal/UserRepositoryImpl.java +++ b/src/main/java/fr/eni/enchere/dal/UserRepositoryImpl.java @@ -56,28 +56,28 @@ public class UserRepositoryImpl implements UserRepository { @Override public UserProfil findByUsername(String username) { - String sql = "SELECT * FROM UTILISATEURS WHERE pseudo = ? OR email = ? AND isDelete = 0 AND isDisabled = 0"; + String sql = "SELECT * FROM UTILISATEURS WHERE (pseudo = ? OR email = ?) AND isDelete = 0 AND isDisabled = 0"; UserProfil user = jdbcTemplate.queryForObject(sql, new UserRowMapper(), username, username); return user; } @Override public UserProfil findUserByEmail(String email) { - String sql = "SELECT * FROM UTILISATEURS WHERE email = ? AND isDelete = 0 AND isDisabled = 0"; + String sql = "SELECT * FROM UTILISATEURS WHERE email = ? AND isDelete = 0"; UserProfil user = jdbcTemplate.queryForObject(sql, new UserRowMapper(), email); return user; } @Override public List findAllUsernames() { - String sql = "SELECT pseudo FROM UTILISATEURS WHERE isDelete = 0 AND isDisabled = 0"; + String sql = "SELECT pseudo FROM UTILISATEURS WHERE isDelete = 0 "; List usernames = jdbcTemplate.queryForList(sql, String.class); return usernames; } @Override public List findAllEmail() { - String sql = "SELECT email FROM UTILISATEURS WHERE isDelete = 0 AND isDisabled = 0"; + String sql = "SELECT email FROM UTILISATEURS WHERE isDelete = 0"; List email = jdbcTemplate.queryForList(sql, String.class); return email; } @@ -85,7 +85,7 @@ public class UserRepositoryImpl implements UserRepository { @Override public String findByEmail(String email) { //Vérifie si un email existe dans la base et est valide - String sql = "SELECT email FROM UTILISATEURS WHERE isDisabled = 0 AND email = ? AND isDelete = 0"; + String sql = "SELECT email FROM UTILISATEURS WHERE email = ? AND isDelete = 0"; try { return jdbcTemplate.queryForObject(sql, new Object[]{email}, String.class); } catch (EmptyResultDataAccessException e) { @@ -96,14 +96,14 @@ public class UserRepositoryImpl implements UserRepository { @Override public List findAll() { - String sql = "SELECT * FROM UTILISATEURS WHERE isDelete = 0 AND isDisabled = 0"; + String sql = "SELECT * FROM UTILISATEURS WHERE isDelete = 0"; List users = jdbcTemplate.query(sql, new UserRowMapper()); return users; } @Override public UserProfil findById(int id) { - String sql = "SELECT * FROM UTILISATEURS WHERE no_utilisateur = ? AND isDelete = 0 AND isDisabled = 0"; + String sql = "SELECT * FROM UTILISATEURS WHERE no_utilisateur = ? AND isDelete = 0"; UserProfil user = jdbcTemplate.queryForObject(sql, new UserRowMapper(), id); return user; } diff --git a/src/main/java/fr/eni/enchere/security/LoginService.java b/src/main/java/fr/eni/enchere/security/LoginService.java index cf8cedc..53cc114 100644 --- a/src/main/java/fr/eni/enchere/security/LoginService.java +++ b/src/main/java/fr/eni/enchere/security/LoginService.java @@ -19,10 +19,8 @@ public class LoginService implements UserDetailsService { @Override public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { - // Charger l'utilisateur depuis la base de données UserProfil utilisateur = this.userRep.findByUsername(username); UserDetails userDetails = null; - // Créer un nouvel objet UserBuilder if (utilisateur != null) { userDetails = User.builder() .username(utilisateur.getPseudo()) @@ -30,9 +28,9 @@ public class LoginService implements UserDetailsService { .roles(utilisateur.isAdmin() ? "ADMIN" : "MEMBRE") .build(); } else { - throw new UsernameNotFoundException("Les identifiants sont incorrect !"); + throw new UsernameNotFoundException("Les identifiants sont incorrects !"); } return userDetails; } +} -} \ No newline at end of file diff --git a/src/main/resources/logs/eni.log b/src/main/resources/logs/eni.log index 23b2d39..11c7c57 100644 --- a/src/main/resources/logs/eni.log +++ b/src/main/resources/logs/eni.log @@ -2695,3 +2695,2109 @@ Caused by: org.springframework.dao.EmptyResultDataAccessException: Incorrect res 16:37:24.231 [Thread-19] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 16:37:24.232 [Thread-19] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-5 - Shutdown initiated... 16:37:24.275 [Thread-19] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-5 - Shutdown completed. +08:41:33.290 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +08:42:51.034 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +08:43:10.302 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +08:43:16.500 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +08:43:32.172 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +08:44:58.131 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +08:44:58.494 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +08:45:01.359 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +08:45:07.761 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +08:45:20.595 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +08:45:57.206 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +08:46:59.586 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +08:47:11.406 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +08:47:17.129 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +08:47:19.311 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +08:48:36.822 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +08:48:39.014 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +08:48:54.092 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +08:48:59.476 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +08:49:05.430 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +08:49:09.227 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +08:49:14.410 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +08:49:18.026 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +08:49:22.033 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +08:49:30.390 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +08:50:53.551 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +08:50:59.306 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +08:51:06.516 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +08:53:55.019 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +08:54:03.243 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:02.040 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:53.761 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:54.325 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:54.702 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:54.940 [http-nio-8800-exec-3] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:55.315 [http-nio-8800-exec-9] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:55.710 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +08:55:56.060 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +09:05:16.695 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +09:05:21.041 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +09:05:33.437 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +09:05:41.370 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +09:05:49.285 [http-nio-8800-exec-9] ERROR f.e.e.controllers.AccueilController - test du logger +09:05:58.097 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +09:06:05.663 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +09:06:20.577 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +09:06:31.375 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +09:06:31.901 [http-nio-8800-exec-3] ERROR f.e.e.controllers.AccueilController - test du logger +09:11:07.038 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +09:41:06.329 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +09:41:18.471 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +09:41:45.203 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +09:42:03.726 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +09:42:35.509 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +09:42:35.930 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +09:42:36.778 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +09:42:41.251 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +09:45:05.157 [http-nio-8800-exec-1] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8800-exec-1] Exception processing template "article": An error happened during template parsing (template: "class path resource [templates/article.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/article.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "#dates.format(#dates.createNow(), 'yyyy-MM-dd') and !username.isDisabled" (template: "article" - line 57, col 35) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 98 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#dates.format(#dates.createNow(), 'yyyy-MM-dd') and !username.isDisabled" (template: "article" - line 57, col 35) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.GreaterThanExpression.executeGreaterThan(GreaterThanExpression.java:78) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:101) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.AndExpression.executeAnd(AndExpression.java:123) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:89) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 100 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1001E: Type conversion problem, cannot convert from java.lang.String to java.lang.Boolean + at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:87) + at org.springframework.expression.common.ExpressionUtils.convertTypedValue(ExpressionUtils.java:57) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:212) + at org.springframework.expression.spel.ast.OpAnd.getBooleanValue(OpAnd.java:57) + at org.springframework.expression.spel.ast.OpAnd.getValueInternal(OpAnd.java:48) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + ... 135 common frames omitted +Caused by: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [java.lang.Boolean] for value [2024-05-02] + at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:47) + at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:182) + at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:82) + ... 142 common frames omitted +Caused by: java.lang.IllegalArgumentException: Invalid boolean value '2024-05-02' + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:54) + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:32) + at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:358) + at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41) + ... 144 common frames omitted +09:45:05.162 [http-nio-8800-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/article.html]")] with root cause +java.lang.IllegalArgumentException: Invalid boolean value '2024-05-02' + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:54) + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:32) + at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:358) + at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41) + at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:182) + at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:82) + at org.springframework.expression.common.ExpressionUtils.convertTypedValue(ExpressionUtils.java:57) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:212) + at org.springframework.expression.spel.ast.OpAnd.getBooleanValue(OpAnd.java:57) + at org.springframework.expression.spel.ast.OpAnd.getValueInternal(OpAnd.java:48) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.GreaterThanExpression.executeGreaterThan(GreaterThanExpression.java:78) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:101) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.AndExpression.executeAnd(AndExpression.java:123) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:89) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +09:45:07.391 [http-nio-8800-exec-2] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8800-exec-2] Exception processing template "article": An error happened during template parsing (template: "class path resource [templates/article.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/article.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "#dates.format(#dates.createNow(), 'yyyy-MM-dd') and !username.isDisabled" (template: "article" - line 57, col 35) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 98 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#dates.format(#dates.createNow(), 'yyyy-MM-dd') and !username.isDisabled" (template: "article" - line 57, col 35) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.GreaterThanExpression.executeGreaterThan(GreaterThanExpression.java:78) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:101) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.AndExpression.executeAnd(AndExpression.java:123) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:89) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 100 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1001E: Type conversion problem, cannot convert from java.lang.String to java.lang.Boolean + at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:87) + at org.springframework.expression.common.ExpressionUtils.convertTypedValue(ExpressionUtils.java:57) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:212) + at org.springframework.expression.spel.ast.OpAnd.getBooleanValue(OpAnd.java:57) + at org.springframework.expression.spel.ast.OpAnd.getValueInternal(OpAnd.java:48) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + ... 135 common frames omitted +Caused by: org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [java.lang.Boolean] for value [2024-05-02] + at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:47) + at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:182) + at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:82) + ... 142 common frames omitted +Caused by: java.lang.IllegalArgumentException: Invalid boolean value '2024-05-02' + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:54) + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:32) + at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:358) + at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41) + ... 144 common frames omitted +09:45:07.392 [http-nio-8800-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/article.html]")] with root cause +java.lang.IllegalArgumentException: Invalid boolean value '2024-05-02' + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:54) + at org.springframework.core.convert.support.StringToBooleanConverter.convert(StringToBooleanConverter.java:32) + at org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.convert(GenericConversionService.java:358) + at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:41) + at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:182) + at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:82) + at org.springframework.expression.common.ExpressionUtils.convertTypedValue(ExpressionUtils.java:57) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:212) + at org.springframework.expression.spel.ast.OpAnd.getBooleanValue(OpAnd.java:57) + at org.springframework.expression.spel.ast.OpAnd.getValueInternal(OpAnd.java:48) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.GreaterThanExpression.executeGreaterThan(GreaterThanExpression.java:78) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:101) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.AndExpression.executeAnd(AndExpression.java:123) + at org.thymeleaf.standard.expression.ComplexExpression.executeComplex(ComplexExpression.java:89) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:112) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +10:13:15.172 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 0 of constructor in fr.eni.enchere.bll.UserServiceImpl required a bean of type 'fr.eni.enchere.dal.UserRepository' that could not be found. + + +Action: + +Consider defining a bean of type 'fr.eni.enchere.dal.UserRepository' in your configuration. + +10:14:27.976 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +10:14:38.104 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +10:14:45.942 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +10:15:01.910 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +10:15:13.822 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +10:15:26.717 [http-nio-8800-exec-3] ERROR f.e.e.controllers.AccueilController - test du logger +10:15:38.542 [http-nio-8800-exec-3] ERROR f.e.e.controllers.AccueilController - test du logger +10:15:51.885 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +10:16:13.294 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +10:16:21.003 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +10:16:45.049 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +10:16:54.107 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +10:17:00.703 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +10:17:03.473 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +10:17:27.234 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +10:17:35.079 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +10:22:10.366 [http-nio-8800-exec-9] ERROR o.s.s.w.a.UsernamePasswordAuthenticationFilter - An internal error occurred while trying to authenticate the user. +org.springframework.security.authentication.InternalAuthenticationServiceException: Incorrect result size: expected 1, actual 0 + at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:118) + at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:133) + at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182) + at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:201) + at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:85) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:231) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:131) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0 + at org.springframework.dao.support.DataAccessUtils.nullableSingleResult(DataAccessUtils.java:190) + at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:897) + at fr.eni.enchere.dal.UserRepositoryImpl.findByUsername(UserRepositoryImpl.java:60) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.base/java.lang.reflect.Method.invoke(Method.java:568) + at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351) + at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765) + at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) + at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) + at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765) + at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717) + at fr.eni.enchere.dal.UserRepositoryImpl$$SpringCGLIB$$0.findByUsername() + at fr.eni.enchere.security.LoginService.loadUserByUsername(LoginService.java:23) + at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:103) + ... 64 common frames omitted +10:34:29.175 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +10:34:32.019 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +10:35:51.954 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +10:40:07.633 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +10:40:34.734 [http-nio-8800-exec-9] ERROR f.e.e.controllers.AccueilController - test du logger +10:40:41.039 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +10:40:53.417 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +10:40:55.878 [http-nio-8800-exec-3] ERROR f.e.e.controllers.AccueilController - test du logger +10:41:44.568 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +10:42:40.231 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +10:42:50.560 [http-nio-8800-exec-6] ERROR f.e.e.controllers.AccueilController - test du logger +10:44:14.423 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +10:44:22.150 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +10:45:30.996 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +10:45:42.343 [http-nio-8800-exec-3] ERROR f.e.e.controllers.AccueilController - test du logger +11:02:40.171 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +11:02:43.417 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +11:02:51.706 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +11:02:53.909 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +11:06:07.434 [http-nio-8800-exec-5] ERROR f.e.e.controllers.AccueilController - test du logger +11:06:10.105 [http-nio-8800-exec-8] ERROR f.e.e.controllers.AccueilController - test du logger +11:13:07.345 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +11:13:10.845 [http-nio-8800-exec-10] ERROR f.e.e.controllers.AccueilController - test du logger +11:13:34.765 [http-nio-8800-exec-7] ERROR f.e.e.controllers.AccueilController - test du logger +11:21:07.420 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +11:21:14.235 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +11:28:48.385 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +11:37:13.411 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +11:37:23.773 [http-nio-8800-exec-2] ERROR f.e.e.controllers.AccueilController - test du logger +11:39:55.592 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +11:43:08.990 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +11:43:09.396 [http-nio-8800-exec-1] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8800-exec-1] Exception processing template "accueil": An error happened during template parsing (template: "class path resource [templates/accueil.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "#httpServletRequest.getRequestURL().indexOf('http://') != -1" (template: "accueil" - line 124, col 38) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 98 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#httpServletRequest.getRequestURL().indexOf('http://') != -1" (template: "accueil" - line 124, col 38) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 100 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getRequestURL() on null context object + at org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:166) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:117) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:43) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:33) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + ... 133 common frames omitted +11:43:09.403 [http-nio-8800-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getRequestURL() on null context object + at org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:166) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:117) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:43) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:33) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +11:43:09.434 [http-nio-8800-exec-1] ERROR o.s.b.a.w.s.e.ErrorMvcAutoConfiguration$StaticView - Cannot render error page for request [/enchere] and exception [An error happened during template parsing (template: "class path resource [templates/accueil.html]")] as the response has already been committed. As a result, the response may have the wrong status code. +11:43:11.322 [http-nio-8800-exec-4] ERROR f.e.e.controllers.AccueilController - test du logger +11:43:11.439 [http-nio-8800-exec-4] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8800-exec-4] Exception processing template "accueil": An error happened during template parsing (template: "class path resource [templates/accueil.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "#httpServletRequest.getRequestURL().indexOf('http://') != -1" (template: "accueil" - line 124, col 38) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 98 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#httpServletRequest.getRequestURL().indexOf('http://') != -1" (template: "accueil" - line 124, col 38) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 100 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getRequestURL() on null context object + at org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:166) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:117) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:43) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:33) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + ... 133 common frames omitted +11:43:11.441 [http-nio-8800-exec-4] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getRequestURL() on null context object + at org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:166) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:117) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:43) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:33) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +11:43:11.463 [http-nio-8800-exec-4] ERROR o.s.b.a.w.s.e.ErrorMvcAutoConfiguration$StaticView - Cannot render error page for request [/enchere] and exception [An error happened during template parsing (template: "class path resource [templates/accueil.html]")] as the response has already been committed. As a result, the response may have the wrong status code. +11:43:51.765 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +11:43:52.225 [http-nio-8800-exec-1] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8800-exec-1] Exception processing template "accueil": An error happened during template parsing (template: "class path resource [templates/accueil.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "#httpServletRequest.getRequestURL().indexOf('https://') != -1" (template: "accueil" - line 124, col 38) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 98 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "#httpServletRequest.getRequestURL().indexOf('https://') != -1" (template: "accueil" - line 124, col 38) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 100 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getRequestURL() on null context object + at org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:166) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:117) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:43) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:33) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + ... 133 common frames omitted +11:43:52.235 [http-nio-8800-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getRequestURL() on null context object + at org.springframework.expression.spel.ast.MethodReference.throwIfNotNullSafe(MethodReference.java:166) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:117) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:67) + at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:43) + at org.springframework.expression.spel.ast.OpNE.getValueInternal(OpNE.java:33) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) + at org.thymeleaf.standard.processor.StandardIfTagProcessor.isVisible(StandardIfTagProcessor.java:59) + at org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor.doProcess(AbstractStandardConditionalVisibilityTagProcessor.java:61) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +11:43:52.267 [http-nio-8800-exec-1] ERROR o.s.b.a.w.s.e.ErrorMvcAutoConfiguration$StaticView - Cannot render error page for request [/enchere] and exception [An error happened during template parsing (template: "class path resource [templates/accueil.html]")] as the response has already been committed. As a result, the response may have the wrong status code. +11:45:45.122 [http-nio-8800-exec-1] ERROR f.e.e.controllers.AccueilController - test du logger +11:45:45.578 [http-nio-8800-exec-1] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8800-exec-1] Exception processing template "accueil": An error happened during template parsing (template: "class path resource [templates/accueil.html]") +org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]") + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:241) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "exists('/images/articles/' + article.id + '.jpg') ? '/images/articles/' + article.id + '.jpg' : '/images/articles/no-data.jpg'" (template: "accueil" - line 124, col 38) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:393) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + ... 98 common frames omitted +Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "exists('/images/articles/' + article.id + '.jpg') ? '/images/articles/' + article.id + '.jpg' : '/images/articles/no-data.jpg'" (template: "accueil" - line 124, col 38) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + ... 100 common frames omitted +Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1004E: Method call: Method exists(java.lang.String) cannot be found on type org.thymeleaf.spring6.expression.SPELContextMapWrapper + at org.springframework.expression.spel.ast.MethodReference.findAccessorForMethod(MethodReference.java:237) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:147) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:212) + at org.springframework.expression.spel.ast.Ternary.getValueInternal(Ternary.java:54) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + ... 131 common frames omitted +11:45:45.586 [http-nio-8800-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/accueil.html]")] with root cause +org.springframework.expression.spel.SpelEvaluationException: EL1004E: Method call: Method exists(java.lang.String) cannot be found on type org.thymeleaf.spring6.expression.SPELContextMapWrapper + at org.springframework.expression.spel.ast.MethodReference.findAccessorForMethod(MethodReference.java:237) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:147) + at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:107) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:212) + at org.springframework.expression.spel.ast.Ternary.getValueInternal(Ternary.java:54) + at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114) + at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) + at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) + at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) + at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) + at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) + at org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144) + at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) + at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) + at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:918) + at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.Model.process(Model.java:290) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.processIterationModel(IteratedGatheringModelProcessable.java:368) + at org.thymeleaf.engine.IteratedGatheringModelProcessable.process(IteratedGatheringModelProcessable.java:222) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleCloseElement(ProcessorTemplateHandler.java:1640) + at org.thymeleaf.engine.CloseElementTag.beHandled(CloseElementTag.java:139) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) + at org.thymeleaf.engine.Model.process(Model.java:282) + at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) + at org.thymeleaf.engine.TemplateHandlerAdapterMarkupHandler.handleOpenElementEnd(TemplateHandlerAdapterMarkupHandler.java:304) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler$InlineMarkupAdapterPreProcessorHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:278) + at org.thymeleaf.standard.inline.OutputExpressionInlinePreProcessorHandler.handleOpenElementEnd(OutputExpressionInlinePreProcessorHandler.java:186) + at org.thymeleaf.templateparser.markup.InlinedOutputExpressionMarkupHandler.handleOpenElementEnd(InlinedOutputExpressionMarkupHandler.java:124) + at org.attoparser.HtmlElement.handleOpenElementEnd(HtmlElement.java:109) + at org.attoparser.HtmlMarkupHandler.handleOpenElementEnd(HtmlMarkupHandler.java:297) + at org.attoparser.MarkupEventProcessorHandler.handleOpenElementEnd(MarkupEventProcessorHandler.java:402) + at org.attoparser.ParsingElementMarkupUtil.parseOpenElement(ParsingElementMarkupUtil.java:159) + at org.attoparser.MarkupParser.parseBuffer(MarkupParser.java:710) + at org.attoparser.MarkupParser.parseDocument(MarkupParser.java:301) + at org.attoparser.MarkupParser.parse(MarkupParser.java:257) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:230) + at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parseStandalone(AbstractMarkupTemplateParser.java:100) + at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:666) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) + at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:372) + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) + at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) + at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) + at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) + at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) + at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) + at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) + at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) + at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) + at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) + at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) + at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) + at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) + at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) + at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) + at java.base/java.lang.Thread.run(Thread.java:840) +11:45:45.617 [http-nio-8800-exec-1] ERROR o.s.b.a.w.s.e.ErrorMvcAutoConfiguration$StaticView - Cannot render error page for request [/enchere] and exception [An error happened during template parsing (template: "class path resource [templates/accueil.html]")] as the response has already been committed. As a result, the response may have the wrong status code. +11:49:28.609 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 5 of constructor in fr.eni.enchere.controllers.ArticleController required a bean of type 'fr.eni.enchere.bll.FileService' that could not be found. + + +Action: + +Consider defining a bean of type 'fr.eni.enchere.bll.FileService' in your configuration. + +11:50:16.359 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 5 of constructor in fr.eni.enchere.controllers.ArticleController required a bean of type 'fr.eni.enchere.bll.FileService' that could not be found. + + +Action: + +Consider defining a bean of type 'fr.eni.enchere.bll.FileService' in your configuration. + +11:50:42.950 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 5 of constructor in fr.eni.enchere.controllers.ArticleController required a bean of type 'fr.eni.enchere.bll.FileService' that could not be found. + + +Action: + +Consider defining a bean of type 'fr.eni.enchere.bll.FileService' in your configuration. + +11:52:55.574 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 3 of constructor in fr.eni.enchere.controllers.AccueilController required a bean of type 'fr.eni.enchere.bll.FileService' that could not be found. + + +Action: + +Consider defining a bean of type 'fr.eni.enchere.bll.FileService' in your configuration. + +11:53:00.164 [restartedMain] ERROR o.s.b.d.LoggingFailureAnalysisReporter - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +Parameter 3 of constructor in fr.eni.enchere.controllers.AccueilController required a bean of type 'fr.eni.enchere.bll.FileService' that could not be found. + + +Action: + +Consider defining a bean of type 'fr.eni.enchere.bll.FileService' in your configuration. + diff --git a/src/main/resources/templates/accueil.html b/src/main/resources/templates/accueil.html index df630bc..7f9cc2b 100644 --- a/src/main/resources/templates/accueil.html +++ b/src/main/resources/templates/accueil.html @@ -121,7 +121,8 @@
- Image de l'article + Image de l'article + Image de l'article
diff --git a/src/main/resources/templates/security/login.html b/src/main/resources/templates/security/login.html index 5045904..146e587 100644 --- a/src/main/resources/templates/security/login.html +++ b/src/main/resources/templates/security/login.html @@ -11,11 +11,11 @@
- +
- +