profile
Make Things Right
post-thumbnail

406 error [not accepterble]

클라이언트에서 요청된 Type을 핸들러가 type으로 내려줄 수 없어 발생한 에러 해결

3일 전
·
0개의 댓글
·
post-thumbnail

Spring boots에서 태스트가 작동하지 않는경우

비워져 있는 테스트케이스를 실행하자 class not found error가 발생 하였다. 위의 캡쳐같이 group을 테스트 클래스가 위치한 패키지를 적어줘야 한다. 이후에 실행하자 테스트케이스가 잘 실행 되는것을 확인 할 수 있었다.

2024년 4월 17일
·
0개의 댓글
·
post-thumbnail

GROUP BY 완전정복

pcb.id로 먼저 묶이고, wfmi.array_value로 한번 더 묶인다.order By절에서 집계함수절을 사용할수 있다.

2024년 4월 4일
·
0개의 댓글
·

Exception while fetching data [QueryDsl]

Many Java frameworks and libraries use reflection to dynamically create instances of classes. Reflection is a powerful feature that allows a program t

2024년 3월 25일
·
0개의 댓글
·
post-thumbnail

Hexagonal Architecture

UI나 database를 비지니스 로직으로 분리되어야하는 외부요소로 취급함비지니스 로직(도메인 코드)이 외부요소에 의해 의존하지 않게 함프레젠테이션 계층(controller)과 데이터 소스 계층(persistence)이 도메인 계층에 의존하도록 함외부에 포함된 컴포넌트

2024년 3월 24일
·
0개의 댓글
·

IntelliJ spring project를 github에 push하기

Open your project in IntelliJ IDEA.If you haven't already initialized your project as a Git repository, - go to VCS > Enable Version Control Integrati

2024년 3월 17일
·
0개의 댓글
·

git reset, revert로 이전 커밋으로 돌리기

단편적인 예로 이전 돌아가고 싶은 커밋으로 가고 싶을 때 사용하거나, master 브랜치로 릴리즈를 했는데 치명적인 버그로 인하여 롤백해야하는 경우 이전 커밋으로 되돌아가기 위해 위 명령어를 사용합니다!둘다 이전 커밋으로 되돌린다는 점에서는 동일하나github 같은 온

2024년 1월 26일
·
0개의 댓글
·

Extends vs Implements [java]

extends는 상속받은 클래스의 fields나 methods들을 사용할 수 있다. extends를 사용하는건 extends functionality로 해석할 수 있다. - 오직 한 클래스만 상속받을 수 있다(다중상속이 불가능하다) implements는 상속받은 methods들을구현해서 사용해야 하기 때문에 implements라고 한다.. - exten...

2023년 8월 25일
·
0개의 댓글
·

restore sql dump

root@ksmart ~

2023년 8월 18일
·
1개의 댓글
·

Next.js에서 React hook의 Context를 사용하는 방법

필요한 Library들 dispatcher에서 필요한 Action정의 dispatcher에 필요되는 parameter값들 정의. - tasks: Todo리스트를 구성하는 entity. 리스트로 정의되어 있다. - dispatch: 리액트 Hook의 useReducer로 만들어진 함수 - onCreate : A function that takes a T...

2023년 8월 1일
·
1개의 댓글
·

Different between _app.tsx and app.tsx?

To summarize, \_app.tsx is a special file in Next.js that acts as the root component of your application, while app.tsx is a generic file that you can

2023년 7월 12일
·
0개의 댓글
·

next.js기본 페이지들 개념정리

app.tsx와 \_document.tsx에서 우리는 전체 프로젝트 페이지의 공통 역할을 다루게 된다.\_app.tsx 에서는 다음과 같은 일을 한다고 한다.Persisting layout between page changesKeeping state when navig

2023년 7월 4일
·
0개의 댓글
·

don't we need to return _app.tsx in index.tsx file like react.js?

In React.js, the convention is to return the root component (usually named App) from the index.js file using the ReactDOM.render() function. However,

2023년 6월 25일
·
0개의 댓글
·

Export와 Export default의 차이점

The export and export default are both ways to export declarations from a module in JavaScript or TypeScript, but they have some differences in their

2023년 6월 25일
·
0개의 댓글
·

next.js에서 apollo사용해서 spring에 API요청하기

알아야 할 개념 첫번째 export function 먼저 data fetching에서 흔하지만 server-side-render에서 알아야 할 개념은 export function이다 필요한 클라이언트를 export default로 export해서 사용한다. @ap

2023년 6월 25일
·
0개의 댓글
·
post-thumbnail

Next.js의 특징( 또는 React.js와 차이점)

1\. React는 JS의 라이브러리고 Next는 프레임워크이다.

2023년 6월 20일
·
0개의 댓글
·

App.js와 Index.js의 차이

먼저 src안에 있는 index.js는? src안에 있는 index.js는 가장 먼저 react에서 실행하는 파일입니다. 확인해보시면 return 되는 컴포넌트로 app.js를 불러오시는 걸 확인할 수 있습니다. 즉 app.js가 main/index.js를 불러온다고 보시면 됩니다. app.js에서 만약에 main/index.js 가 아닌 다른 컴포넌트...

2023년 6월 20일
·
0개의 댓글
·

GraphQL input type 특이점.

TalkCommentResolver.javaTalkComment.graphql리졸버의 input parameter의 타입이 input타입의 필드들을 충족 시킨다면 문제없다!!!

2023년 6월 13일
·
0개의 댓글
·

@SuperBuilder

Article객체에서 공통적인 필드를 제거하기 위해서 super클래스인 BoseBoard를 상속받고 있다. 하지만 CRUD테스트에서 Builder로 부모객체를 상속받으려 하자 빌더에 부모클래스의 변수가 찍히지 않았다... @SuperBuilder 사용시 주의할점 - Article객체에서 원래 사용하였던 @Builder를 제거하고 @SuperBuilder...

2023년 6월 10일
·
0개의 댓글
·
post-thumbnail

[MyBatis] ResultMap사용법, 쓰임

테이블 관계가 1:1인경우테이블 관계가 1:N인경우

2023년 6월 8일
·
0개의 댓글
·