본문 바로가기

개발관련/error

(24)
[error jstl core STS] class org.apache.taglibs.standard.tlv.JstlCoreTLV cannot be cast to class jakarta.servlet.jsp.tagext.TagLibraryValidato Problem STS 4.15.3.RELEASE 버전에서 maven 으로 pom.xml 에 jstl 및 taglib 추가 후 사용 시 에러. jstl 추가시 에러 없었고 taglib 사용하려고 위의 코드 추가시 에러 발생 javax.servlet jstl 1.2 taglibs standard 1.1.2 cause SpringBoot 3.0 이상부터 다른 라이브러리 필요한 듯? resolving 추가했던 디펜던시 다 지우고 해당 디펜던시 추가하니 사용 가능 jakarta.servlet.jsp.jstl jakarta.servlet.jsp.jstl-api 3.0.0 jakarta.servlet jakarta.servlet-api 6.0.0 provided org.glassfish.web jakarta.serv..
[error sts] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path Problem STS 4.15.3 RELEASE 사용 중 JSP 파일 추가하자 발생한 에러. maven 프로젝트. The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path cause java 빌드 경로에서 javax servlet 인 HttpServlet을 찾을 수 없음 resolving pom.xml 기존에 embed만 추가했으나 javax.servlet 추가하기, 추가 후 jsp 파일 지우고 새로 생성하기 org.apache.tomcat.embed tomcat-embed-jasper javax.servlet javax.servlet-api 4.0.1 provided
[error sts] Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.boot.autoconfigure.web.embedded.TomcatWebServerFactoryCustomizer and org.apache.coyote.http11.AbstractHttp11Protocol Problem Description: An attempt was made to call a method that does not exist. The attempt was made from the following location: org.springframework.boot.autoconfigure.web.embedded.TomcatWebServerFactoryCustomizer.customizeMaxHttpRequestHeaderSize(TomcatWebServerFactoryCustomizer.java:265) The following method did not exist: 'void org.apache.coyote.http11.AbstractHttp11Protocol.setMaxHttpRequest..
[error spring] @GetMapping, @PostMapping 등 어노테이션 import 에러 problem @GetMapping annotation 이 자동완성되지 않음 (Ctrl + Space) cause 해당 버전이 낮아 지원되지 않음 resolving problem 이를 해결하는 방법은 pom.xml에서 org-springframework-version 태그 값을 5.0.7 RELEASE로 변경해주면 된다. 이전 버전에서는 해당 어노테이션들이 지원하지 않는것 같다. => spring 4.3 부터 개선이 되었는데 왜 안되었지? https://docs.spring.io/spring-framework/docs/4.3.12.RELEASE/spring-framework-reference/htmlsingle/#mvc-ann-requestmapping-composed Spring Framework Re..
[error git] failed to write credentials for to secure store salt must be 8 bytes long problem failed to write credentials for to secure store salt must be 8 bytes long 안내문구와 함께 암호를 매번 다시 넣어야 한다. cause git 저장소의 키가 꼬이게 되어서 발생 resolving problem 이클립스에 저장된 git 저장소 키를 지워야한다. 이클립스 상단바 Window > Preferences > General > Security > Secure Storage > Contents 탭에서 delete 버튼을 이용하여 지워준다. 패스워드의 암호화방법으로 단방향이자 hashing 을 사용하고 이를 보완해 salt 기법을 사용하는 것이다. Salt 는 해시함수를 돌리기 전에 원문에 임의의 문자열을 덧붙이는 것을 말한다. 단어..
[error] Your submission contains non ASCII characters, we dont accept submissions with non ASCII characters for this challenge. problem 코디테스트 문제 풀이 코드를 제출할 수 없음 cause ASCII 문자들이 아니어서 발생 resolving problem 해당 제출 코드 부분에서 한글 제거 주석처리한 한글 삭제 후 제출
[error git] Fetching remote refs from [url] has encountered a problem. service=git-upload-pack not found: Not Found / An error occureed when trying to contact Problem fetching failed cause private 한 git url 인데 invited 된 사람이 아니어서 찾을 수 없는 문제 발생 resolving the problem 초대 승낙 후 다시 git fetch 한다.
[error] Failed to initialize JPA EntityManagerFactory: No identifier specified for entity Problem Failed to initialize JPA EntityManagerFactory: No identifier specified for entity: com.url.web.entity.Member cause @Entity 선언 시 @Id 를 추가하지 않아 발생 resolving the problem @Id 추가