Etc/Error 10

[Error_DataBinding] error: cannot access DataBindingComponent... 데이터바인딩 에러 해결

error: cannot access DataBindingComponent super(_bindingComponent, _root, _localFieldCount); gradle.properties에 아래 코드를 추가 android.enableJetifier=true 아래 링크를 참고해서 해결했습니다 https://www.codegrepper.com/code-examples/whatever/error%3A+cannot+access+DataBindingComponent error: cannot access DataBindingComponent Code Example //add this line in gradle.properties android.enableJetifier=true www.codegreppe..

Etc/Error 2022.06.05

[Error_Android] Glide 사용시 사진 안나오는 에러 해결방법 (W/Glide: Failed to find GeneratedAppGlideModule.)

혹시나 이렇게 뜨면서 Glide에 사진이 안나오는 경우!! W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored build.gradle (:app) -kapt 관련 코드를 추가해줍니다. plugins { ... id 'kotlin-kapt' } dependencies { ...

Etc/Error 2022.05.05

[Error_Maven] 모듈에 대한 Maven 프로젝트 구성을 사용할 수 없습니다.

모듈 'demo'에 필요한 Maven 프로젝트 구성을 사용할 수 없습니다. Maven 프로젝트 컴파일은 IDE에서 외부 빌드가 시작된 경우에만 지원됩니다. pom.xml을 오른쪽 클릭하고 "Add as Maven Project"를 클릭하면 된다. https://code-examples.net/ko/q/1e87c19 java - 인터넷 - Maven 오류:모듈에 대한 Maven 프로젝트 구성을 사용할 수 없습니다. 내 코드를 컴파일하려고하면이 오류가 계속 발생합니다. 내 디렉토리에 pom.xml 파일이 있지만 거기에 뭔가 잘못된 것이 있는지 확실하지 않습니다. 이 문제에 관해 인터넷에서 단 하나의 링크 만 code-examples.net

Etc/Error 2022.04.20

[Error_SpringBoot] 스프링부트(Restful)-안드로이드(Retrofit) 데이터 주고받기시 <'text/plain;charset=UTF-8' not supporte> 백엔드에서 데이터받기 오류

앱에서 seq값을 서버로 보내줬을때 UTF-8 인코딩 에러가 계속 발생했다. Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'text/plain;charset=UTF-8' not supported] @RequestMapping(value = "/plustReadcntApp", method=RequestMethod.POST) public String plustReadcntApp(@RequestBody int seq) { String res = service.readcountApp(seq); System.out.println(res); return res; } //@Headers("Content-Type: ..

Etc/Error 2022.04.03

[Error_Server] 웹 서버 포트 충돌 시 포트 중단하기 (Mac 터미널 사용)

아래처럼 이미 사용하고 있는 포트라고 충돌나서 서버가 안돌아갈때 *************************** APPLICATION FAILED TO START *************************** Description: Web server failed to start. Port 3000 was already in use. Action: Identify and stop the process that's listening on port 3000 or configure this application to listen on another port. 1. sudo lsof -i:[PORT NUMBER] -> sudo lsof -i:3000 2. kill -9 [PID] -> kill -9 471..

Etc/Error 2022.04.01

[Error_IntelliJ] 인텔리제이 안드로이드 그래들 플러그인 자바 버전 변경*(Java 11 to run. You are currently using Java 1.8.)

A problem occurred evaluating project ':app'. > Failed to apply plugin 'com.android.internal.application'. > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following options: - changing the IDE settings. - changing the JAVA_HOME environment variable. - changing `org.gradle.java.home` in `gradle.properties`. 환경설정(preferences) -환경설정 -> 빌드,실..

Etc/Error 2022.03.22

[Error_SpringBoot] xml파일 sql구문 오류 해결java.lang.IllegalStateException: Optional int parameter 'seq' is present but cannot be translated into a null value due to being declared as a primitive type...

This application has no explicit mapping for /error, so you are seeing this as a fallback. java.lang.IllegalStateException: Optional int parameter 'seq' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type. sql.xml파일에서 mapper사용해서 아래 sql문을 실행하려고 했다가 오류가 뜬 상황이였습니다. SELECT * FROM..

Etc/Error 2022.03.16

[Error_Android] Lateinit property mMap has not been initialized 에러 발생 (GoogleMap사용)

class MapsFragment(val activity: Activity) : Fragment(), OnMapReadyCallback { private lateinit var mMap: GoogleMap mMap을 선언해줬음에도 계속 'Lateinit property mMap has not been initialized' 에러가 발생해서 두시간을 고생했는데... private var mMap: GoogleMap? = null 스택오버플로우를 참고해서 lateinit을 포기하고 바꿨더니 에러가 해결됐다 https://stackoverflow.com/questions/65378392/lateinit-property-map-has-not-been-initialized/65389845 lateinit prop..

Etc/Error 2022.02.18

[Error] 인텔리제이 톰캣 실행 오류_Permission denied

인텔리제이에서 톰캣 실행시 생기는 오류와 해결방법을 적어보고자한다. 위 사진처럼 Permission denied가 뜬다면 sudo chmod a+x /{areumchoi}/bin/catalina.sh 제가 {}로 써놓은 부분에 본인 컴퓨터에 아파치 설치 경로를 적어주시고 터미널에 입력해주시면 됩니다 그리고 실행했을때 인터넷창에 이러한 화면이 뜬다면 톰캣 설치파일 -> conf- > server.xml 파일을 열어서 위 코드부분에 8080이 아닌 저는 9090으로 포트부분을 변경해줬습니다. 그리고 다시 실행했을때 다시 똑같은 오류가 안뜬다면 해결 완료입니다!

Etc/Error 2022.01.29

[에러해결] Error creating bean with name 'sqlSessionFactory' - xml파일 오류

심각: Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/spring/applicationContext.xml] : Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: ..

Etc/Error 2022.01.21