분류 전체보기

    [MyBatis] 오류: java.util.LinkedHashMap cannot be cast to java.lang.String

    [MyBatis] 오류: java.util.LinkedHashMap cannot be cast to java.lang.String

    java.util.LinkedHashMap cannot be cast to java.lang.String 말 그대로 LinkedHashMap을 String으로 바꿀 수 없다는 오류다. LoginService에서 로그인 성공 시, 당일 해당 프로젝트에서 첫 로그인했을 경우를 가져오도록 했다. int isFirstLogin = Integer.parseInt((String)dao.selectObj("Statistics.historyLogRecent", userUpdateMap)); dao.selectObj("Statistics.historyLogRecent", userUpdateMap) 여기에서 LinkedHashMap을 return하고 있으므로, myBatis에서 returnType을 수정한다. //변경 전..

    [Vue2] 오류: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated:

    [Vue2] 오류: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated:

    [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "" 다음과 같은 오류가 발생했다. Vue warn이라 그런지 동작하는데 문제는 없지만, 그래도 이런 오류는 해결해주는게 인지상정😉 부모 component가 다시 렌더링되면 값이 overwritten되기 때문에 prop을 직접 변화시키는걸 피하라면서, data나 computed를 사용하라고 한다. Vue2의 공식문서에서 다음과 같이 설명..

    [MySQL] 재설치 후 오류모음

    [MySQL] 재설치 후 오류모음

    # which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Error Code: 1055. Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'schema_name.table_name.column_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by0.000 s..

    안드로이드 스튜디오(Android Studio) 경로 변경해서 C드라이브 용량 확보

    안드로이드 스튜디오(Android Studio) 경로 변경해서 C드라이브 용량 확보

    C드라이브가 곧 터질 것 같아서 웬만한 프로그램들은 D드라이브로 옮기는 작업을 했다. 안드로이드 스튜디오도 용량을 많이 차지해서 옮겨보기로 하겠다. 구글링 중 아주 정리가 잘 되어있는 포스팅을 찾았다. 나 같은 경우는 안드로이드 스튜디오를 한참 안쓰다가 최근에 쓸 일이 생긴거라 지웠다가 D드라이브에 다시 설치했다. 안드로이드 스튜디오를 D드라이브에 설치해도 SDK나 AVD는 C드라이브 AppData폴더에 생긴다. SDK 경로 변경 먼저 우측 상단에 큐브모양 아이콘(SDK Manager)을 눌러 현재 SDK의 경로를 확인한다. 바꾼 뒤에 캡쳐한거라 이미 D드라이브이지만, 설치 후 기본 경로는 C:\Users\{username}\AppData\Local\Android\Sdk 이다. D드라이브로 이동 후, 기..

    [github] Invalid VCS root mappings

    [github] Invalid VCS root mappings

    Github에서 Repository를 clone 후 github Desktop에서 open in Android Studio로 열었더니 처음에 뜨는 오류창 Configure...을 누르거나 Settings>Version Control 에서 VCS에 빨간글씨로 뜨는 Directory를 으로 선택

    [기획] 목적과 목표의 차이

    [기획] 목적과 목표의 차이

    대학교 2학년 때 기획강의를 들을 때 부터 '목적'과 '목표'의 차이가 헷갈렸다. 시간적 여유가 있었던 탓인지 기획안을 쓰면서 또 궁금해졌다. 대체 '목적'과 '목표'의 차이는 뭘까? '목적' 슬라이드와 '목표' 슬라이드에 적힐 내용은 어떤 차이가 있어야 할까? 바로 구글링해봤다. 목적은 Goal, 목표는 Objective로 영단어에서도 목표가 좀 더 명확한 지표를 나타내는 듯한 느낌이 있다. 국립국어원에서도 다음과 같이 정의하고 있다. 목적(目的) 목표(目標) 「1」 실현하려고 하는 일이나 나아가는 방향. 목적을 달성하다/목적을 이루다/목적을 향해 나아가다/목적에 도달하다/뚜렷한 목적을 세우다/이 시험의 목적은 학생들의 학습 능력을 평가하는 데 있다. 「2」 『심리』실현하고자 하는 목표의 관념. 또는 ..