본문 바로가기

에러 기록

(13)
The import javax.annotation.Resource cannot be resolved 에러 https://freehoon.tistory.com/85 를 참조하라! [JAVA/Spring] The import javax.annotation.Resource cannot be resolved Spring로 개발을 하다 보면 @Resource 를 많이 사용하게 됩니다. 이번 포스팅에서는 신규 프로젝트를 생성하여 개발 할 때, 많이 접하게 되는 'The import javax.annotation.Resource cannot be resolved' 에러 처.. freehoon.tistory.com
Wrong username or password 에러 spring.datasource.username= spring.datasource.password= application.properties에 default 값의 경우 "sa", ""를, 또는 따로 지정된 값을 입력해주면 된다.
How to kill port 8080; 8080 포트 연결 끊기! Fast and quick solution: lsof -n -i4TCP:8080 PID is the second field. Then, kill that process: kill -9 PID https://stackoverflow.com/questions/24387451/how-can-i-kill-whatever-process-is-using-port-8080-so-that-i-can-vagrant-up/24388281
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDateTime` not supported by default 에러 com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDateTime` not supported by default 에러의 경우 build.gradle의 dependencies에 아래 코드를 추가하면 된다. ``` compileOnly "com.fasterxml.jackson.core:jackson-databind:2.9.4". implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.13.0-rc1' ```
Invalid character found in method name 오류 java.lang.IllegalArgumentException: Invalid character found in method name [0x160x030x010x000xf30x010x000x000xef0x030x03w0xff0xd90xd60x070xd40xaa0xa5hhQ0x08g-0xeb=0xec0xe50xd10xa90xbb0x8f\0xea0x9f0xb1:0xb5g0xb60x840xea ]. HTTP method names must be tokens at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:419) ~[tomcat-embed-core-9.0.48.jar:9.0.48] at org.apache..