AfreecaTV Android Developer [2023.02 ~ ]
lee-ji-hoon / community Goto Github PK
View Code? Open in Web Editor NEWMultiMedia Community
MultiMedia Community
모든 페이지에서 로그인을 필수로 하지 않도록 변경
Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1004E: Method call: Method isManager(com.community.infra.config.SecurityUser) cannot be found on type com.community.domain.study.Study
Study 페이지 접근시 위와 같은 오류 뜸
2022-05-21 07:29:40.910 ERROR 2758 --- [nio-8080-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringActionTagProcessor' (template: "login-form" - line 27, col 31)] with root cause
java.lang.IllegalStateException: Cannot create a session after the response has been committed
2번째 오류 login form 이라는데 세션 응답을 한 후에 세션을 보낼 수 없다는데 왜 얘가 작동을 할까 라는 생각이 드네
모든 도메인에 적용
HTML 26 ~ 30 Line
<form class="needs-validation p-6 space-y-4 relative bg-white shadow-lg rounded-lg"
action="#" method="post" th:action="@{/login}" novalidate>
<div th:if="${param.error}">
<div th:replace="theme-fragments.html :: red-notice(message='이메일 또는 패스워드가 정확하지 않습니다.')"></div>
</div>
Error Code
[THYMELEAF][http-nio-8080-exec-4] Exception processing template "login-form": An error happened during template parsing (template: "class path resource [templates/login-form.html]")
org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/login-form.html]")
Caused by: org.attoparser.ParseException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringActionTagProcessor' (template: "login-form" - line 27, col 56)
Caused by: org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringActionTagProcessor' (template: "login-form" - line 27, col 56)
Caused by: java.lang.IllegalStateException: Cannot create a session after the response has been committed
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/login-form.html]")] with root cause
java.lang.IllegalStateException: Cannot create a session after the response has been committed
Thymeleaf Authentication 사용하기 위함
3번째 사람이 신고할 경우 redirect 주소를 게시글 상세 페이지가 아닌 커뮤니티 탭으로 바꿔야할 것 같음
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.