본문 바로가기

STUDY11

[스프링부트] 2.4.x 버전에서 내장 톰캣 AJP 프로토콜 띄우기 (secretRequired 이슈) 작업환경 Spring Boot 2.4.4 EmbedTomcat 9.x 배경 APACHE TOMCAT 통신을 위한 AJP 프로토콜 띄우기 이슈사항 인터넷에 나와있는 코드를 따라하는데 아래와 같은 이슈 발생 TOMCAT 특정 버전이후로 secretRequired 값이 default true로 먹는 이슈 [2021/03/30 00:21:22.962][main][ERROR][LifecycleBase:175] Failed to start component [Connector[AJP/1.3-8009]] org.apache.catalina.LifecycleException: Protocol handler start failed at org.apache.catalina.connector.Connector.startIn.. 2021. 3. 30.
[vue.js] veux 사용시 computed property 의 반복적인 get/set 선언을 줄이고 싶다 (using vuex-map-fields) ▣ 고민사항 back-end 만 하다가 오랜만에 front-end 쪽을 보니까 신세계이다. 한 페이지 내에 아래와 같이 vuex와 동기화 처리할 변수(상태 변수)가 여러개 이다. 만약 name, age, city... 10개의 항목이 있다면 유사한 코드 블럭이 10번 반복된다. 이를 축약시켜줄 수 있는 라이브러리가 있을까? 유사한 고민 : Using get/set Computed property with mapState, mapMutation in Vuex // computed property (with vuex) 의 양방향 바인딩 ▣ computed property 에 대한 간단 정리 Define Style 및 특징 sum() 은 함수이지만 sum 과 같은 속성(property) 접근 방식을 사용해도 .. 2020. 9. 19.
[Spring] NoUniqueBeanDefinitionException ▣ 에러로그 [2020/06/17 11:42:06.012][http-apr-31883-exec-3][ERROR][AbstractStep:225] Encountered an error executing step SomethingJobStep in job SomethingJob org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.transaction.PlatformTransactionManager] is defined: expected single matching bean but found 2: transactionManager,resourcelessTra.. 2020. 6. 17.
JetBrains Academy with Intellij EduTools 플러그인 ▣ EduTools 플러그인 요즘 사람들이 어떤 intellij 플러그인을 많이 다운 받는지 궁금해서 서칭하던 중에 호기심이 가는 플러그인을 발견했습니다. Jetbrain 사에서 제공하는 EduTools 라는 플러그인입니다. 간단히 소개하면 Intellij 기반으로 Java, Kotlin 등의 언어를 학습하는 플러그인입니다. 플러그인의 오른쪽 설명에 적힌대로 설정 -> 플러그인 설정 -> 계정연결 학습을 지원하는 다양한 사이트가 있습니다. Stepik, Coursera, JetBrains Academy, Js CheckiO 중 본 블로그는 JetBrains Academy를 기준으로 설명합니다. (사실 하나하나 굵직굵직한 학습 사이트입니다.) 회원 가입은 아래 JetBrains Academy 사이트를 통해.. 2020. 6. 17.
Windows 10 터미널을 Colorful 하게 바꿔보자 ▣ 소개 windows 10 기본 terminal 프로그램에 색을 입히는 프로그램 ▣설치방법 아래의 Release Link를 통해서 적당한 위치에 프로그램의 압축을 푼다. 터미널 프로그램을 수행한다. (실행(Windows Key + R) > cmd 입력) 아래 명령어를 수행하여 반영한다. C:\framework\ColorTool>colortool -b solarized_dark ▣다른 유형의 Scheme campbell : The new default color scheme for Windows Console campbell-legacy : The first iteration of the campbell scheme cmd-legacy : The legacy defaults of the Windows C.. 2020. 6. 10.
[Java] Nested Class - 중첩클래스 ▣ 중첩클래스란 (Nested Class) 다른 클래스 내부에 정의되는 클래스를 중첩클래스라고 한다. ▣ 중첩클래스 종류 1. 스태틱 클래스(Static Class) : 독립적으로 오브젝트로 만들어질 수 있음 2. 내부 클래스(Inner Class) : 자신이 정의된 클래스의 오브젝트 안에서만 만들어질 수 있음 2-1. 멤버 내부 클래스 (Member Inner Class) : 멤버필드처럼 오브젝트 레벨에 정의됨 2-2. 로컬 클래스 (Local Class) : 메소드 레벨에 정의됨 2-3. 익명 내부 클래스 (Anonymous Inner Class) : 이름을 가지지 않음 ▣ Sample Code // Outer Class class OuterClass { // 중첩클래스 Style 1) Static .. 2020. 5. 11.