profile
Back-End Developer ๐ŸŒฑ
post-thumbnail

2021 ํ•œ์ด์Œ ๊ณต๋ชจ์ „ ํ›„๊ธฐ | ๐Ÿก ์ฒญ์•ฝ PASS(์•„ํŒŒํŠธ ์ฒญ์•ฝ ๊ด€๋ฆฌ)

๋Œ€ํ•™๊ต 3ํ•™๋…„ 1ํ•™๊ธฐ๋ฅผ ๋งˆ์น˜๊ณ  ํœดํ•™ ์ƒํ™œ์„ ์‹œ์ž‘ํ–ˆ๋‹ค. ํœดํ•™ ์ƒํ™œ์„ ํ•˜๋ฉด์„œ ์ „๊ณต ๊ด€๋ จ ๋‹ค์–‘ํ•œ ํ”„๋กœ์ ํŠธ๋ฅผ ๊ฒฝํ—˜ํ•ด ๋ณด๊ณ  ์‹ถ์—ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‹ค๊ฐ€ ๋งˆ์นจ ๋Œ€ํ•™๊ต ์„ ๋ฐฐ๋กœ๋ถ€ํ„ฐ ๊ฐ™์ด ํ•œ์ด์Œ ๊ณต๋ชจ์ „ ์ฐธ์—ฌ๋ฅผ ํ•ด๋ณด๋Š” ๊ฒŒ ์–ด๋–จ ๊ฒƒ ๊ฐ™๋ƒ๋Š” ์ข‹์€ ์ œ์•ˆ์„ ๋ฐ›๊ฒŒ ๋˜์—ˆ๋‹ค.ํ•œ์ด์Œ ๊ณต๋ชจ์ „์€ ICT ๋ถ„์•ผ ์‹ค๋ฌด๊ฒฝ

2022๋…„ 7์›” 27์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

[MySQL ์˜ค๋ฅ˜] Cannot load driver class: com.mysql.cj.jdbc.Driver

๐Ÿ†˜ ๋ฌธ์ œ์ IntelliJ ๋‚ด์—์„œ ํ”„๋กœ์ ํŠธ๋ฅผ ์‹คํ–‰ํ•˜๋ ค๋Š” ๋ฐ ๊ฐ‘์ž๊ธฐ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋–ด๋‹ค.์‹ฌ์ง€์–ด MySQLWorkbench๋ฅผ ์‹คํ–‰ํ•˜๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ์ฐฝ์ด ๋–ด๋‹ค.ํ•ด๋‹น ์—๋Ÿฌ ๋•Œ๋ฌธ์— ํ”„๋กœ์ ํŠธ๊ฐ€ ์‹คํ–‰์กฐ์ฐจ ๋˜์ง€ ์•Š์•„์„œ ๋งค์šฐ ๊ณค๋ž€ํ•œ ์ƒํ™ฉ์— ์ฒ˜ํ–ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์˜ค๋žœ ์‹œ๊ฐ„ ๋™์•ˆ ๊ตฌ๊ธ€

2022๋…„ 7์›” 25์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

[IntelliJ] ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ๋‹จ์ถ•ํ‚ค ์„ค์ •

๊ฐœ๋ฐœ์„ ํ•  ๋•Œ ๊ฐ€์žฅ ์ค‘์š”ํ•œ ๊ณผ์ • ์ค‘ ํ•˜๋‚˜์ธ ํ…Œ์ŠคํŠธ ์ฃผ๋„ ๊ฐœ๋ฐœ(Test-Driven Development, TDD) ์ด๋ผ๋Š” ์šฉ์–ด๋ฅผ ๊ฐœ๋ฐœ์ž๋ผ๋ฉด ์–ด๋””์„ ๊ฐ€ ํ•œ ๋ฒˆ์ฏค ๋“ค์–ด๋ดค์„ ๊ฒƒ์ด๋‹ค.๊ธฐ๋Šฅ์ด ์ œ๋Œ€๋กœ ์ž‘๋™ํ•˜๋Š”์ง€ ํ…Œ์ŠคํŠธํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ• ์ค‘ ํ•˜๋‚˜๊ธฐ์— ๋งค์šฐ ์ค‘์š”ํ•œ ๊ณผ์ •์ด๋ผ๊ณ  ๋งํ•  ์ˆ˜

2022๋…„ 7์›” 7์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Spring Boot] Spring Security without the WebSecurityConfigurerAdapter

๐Ÿ†˜ ๋ฌธ์ œ์˜ ์‹œ์ž‘ ์ด๋ฒˆ์— ์ง„ํ–‰ํ•˜๊ฒŒ ๋œ ํ”„๋กœ์ ํŠธ ๋‚ด์—์„œ๋„ ํšŒ์›๊ฐ€์ž… ๋ฐ ๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ ๊ตฌํ˜„์ด ์žˆ์–ด, ์ €๋ฒˆ์— ์ง„ํ–‰ํ–ˆ๋˜ ๋ฐฉ์‹๋Œ€๋กœ Spring Security์™€ JWT๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ตฌํ˜„์„ ์‹œ์ž‘ํ•˜๋ ค๋Š”๋ฐ ์œ„์™€ ๊ฐ™์ด WebSecurityConfigurerAdapter ๊ฐ€ ์ ์šฉ์ด ์•ˆ๋˜

2022๋…„ 7์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

@JsonIgnore ์ด๋ž€?

Spring์„ ์‹คํ–‰ํ•˜๋˜ ๋„์ค‘ \[JPA] No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no properties discovered to create Be

2022๋…„ 5์›” 25์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

Postman์—์„œ Token ๊ฐ’ ์ €์žฅํ•˜๊ธฐ

Spring Security + JWT ๋ฅผ ์ด์šฉํ•ด์„œ ๋กœ๊ทธ์ธ ๊ตฌํ˜„์„ ํ•˜๊ณ  ๊ธฐ๋Šฅ์ด ์ž˜ ๋™์ž‘ ๋˜๋Š”์ง€ ํ…Œ์ŠคํŠธ ํ•˜๊ธฐ ์œ„ํ•ด Postman์„ ์ผฐ์œผ๋‚˜, ํ•œ ๊ฐ€์ง€ ๋ถˆํŽธํ•œ ์ ์ด ์žˆ์—ˆ๋‹ค.๋‚ด๊ฐ€ ๋งŒ๋“  API๋“ค์€ ํ† ํฐ์ด ์—†์œผ๋ฉด ์ ‘๊ทผ์„ ๋ชปํ•˜๋„๋ก ๋งŒ๋“ค์–ด ๋†“์•˜๋Š”๋ฐ, ์œ„์™€ ๊ฐ™์ด ๋ฐœ๊ธ‰๋œ Bearer ๊ธด

2022๋…„ 5์›” 5์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[GitHub] ์›๊ฒฉ ์ €์žฅ์†Œ ์„ค์ • ๋ฐฉ๋ฒ•

์ฝ”๋“œ Merge๋ฅผ ํ•œ ํ›„ ๋‚ด ์ €์žฅ์†Œ๋กœ Pull์„ ํ•˜๋ ค๋Š”๋ฐ ๊ฐ‘์ž๊ธฐthere is no matching branch ๋ผ๋Š” ๊ฒฝ๊ณ ๋ฌธ์ด ๋–ด๋‹ค.๊ฒ€์ƒ‰ํ•ด๋ณธ ๊ฒฐ๊ณผ, ์›๊ฒฉ ์ €์žฅ์†Œ upstream์„ ์„ค์ •ํ•˜์ง€ ์•Š์•˜๋˜ ๊ฒƒ์ด๋‹ค.๐Ÿ˜…: ์šฐ์„  ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด์„œ ๋‚˜์˜ ์›๊ฒฉ ์ €์žฅ์†Œ๋ฅผ ํ™•์ธํ•œ๋‹ค.ํ•ด๋‹น

2022๋…„ 2์›” 20์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[EC2] Terminal์—์„œ SSH ์ ‘์† ํ›„ jar ํŒŒ์ผ์„ ์‹คํ–‰ํ–ˆ์„ ๋•Œ '-bash: java: command not found' ๊ฐ€ ๋œฐ ๊ฒฝ์šฐ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

๐Ÿ†˜ ๋ฌธ์ œ์  AWS์—์„œ ์ƒˆ๋กœ์šด ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ๋ถ€์—ฌ๋ฐ›์€ SSH๋กœ Terminal์— ์ ‘์†ํ•œ ํ›„ jar ํŒŒ์ผ์„ ์‹คํ–‰ํ–ˆ๋Š”๋ฐ ์•„๋ž˜์™€ ๊ฐ™์ด -bash: java: command not found ๋ผ๋Š” ๋ฌธ๊ตฌ๊ฐ€ ๋–ด๋‹ค. ๊ฒ€์ƒ‰ํ•ด๋ณธ ๊ฒฐ๊ณผ, EC2 ๋‚ด์—์„œ๋„ ๋ณ„๋„๋กœ java๋ฅผ ์„ค์น˜ํ•ด์ค˜

2022๋…„ 1์›” 27์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[MySQL ์˜ค๋ฅ˜] Data truncated for column โ€ฆ ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

๐Ÿ†˜ ๋ฌธ์ œ์ MySQL table์— ๋ฐ์ดํ„ฐ๋ฅผ insertํ•˜๋Š” ํ…Œ์ŠคํŠธ ๋„์ค‘Data truncated for column โ€ฆ์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.๐Ÿ’— ํ•ด๊ฒฐ ๋ฐฉ์•ˆ๋ฐ์ดํ„ฐ type์ด ๋‹ค๋ฅด๊ฑฐ๋‚˜ ๋ฐ์ดํ„ฐ ํฌ๊ธฐ๋ฅผ ๋ฒ—์–ด๋‚  ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜๋ผ๊ณ  ํ•œ๋‹ค.

2021๋…„ 8์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[H2 ์‹คํ–‰ ์—๋Ÿฌ] Sorry, remote connections ('webAllowOthers') are disabled on this server. ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

๐Ÿ†˜ ๋ฌธ์ œ์ H2์—์„œ table์„ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด create ๋ฌธ์„ ์ž‘์„ฑํ•˜๊ณ  ์‹คํ–‰์„ ํ–ˆ๋”๋‹ˆSorry, remote connections ('webAllowOthers') are disabled on this server.์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๐Ÿ’— ํ•ด๊ฒฐ ๋ฐฉ์•ˆtermin

2021๋…„ 7์›” 7์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[MySQL] ๊ธฐ๋ณธ ๋ฌธ๋ฒ• ์ •๋ฆฌ

MySQL์„ ์‚ฌ์šฉํ•˜๋‹ค๊ฐ€ ๊ธฐ๋ณธ ๋ฌธ๋ฒ•์— ๋Œ€ํ•œ ์ง€์‹์ด ์Šค์Šค๋กœ ๋ถ€์กฑํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•ด์„œ ์ •๋ฆฌํ•˜๊ฒŒ ๋œ ๊ธ€ ๐Ÿ™‚: ์ƒˆ๋กœ์šด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ƒ์„ฑEx) CREATE DATABASE User; : ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„ ํƒEx) Use User;: ์ƒˆ๋กœ์šด ํ…Œ์ด๋ธ” ์ƒ์„ฑEx) CREATE

2021๋…„ 6์›” 5์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Spring boot ์—๋Ÿฌ] Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

๐Ÿ†˜ ๋ฌธ์ œ์ JSP ํŒŒ์ผ์„ ์ž‘์„ฑํ•˜๋Š” ๋„์ค‘Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.๊ตฌ๊ธ€๋ง์„ ํ†ตํ•ด ๋ฌด์—‡์ด ๋ฌธ์ œ์ธ์ง€ ๊ฒ€์ƒ‰ํ•ด๋ณธ ๊ฒฐ๊ณผ,์•ž์„œ ์ž‘์„ฑํ•œ ๋ฌธ์ œ์™€ ๊ฐ™์ด build.gra

2021๋…„ 5์›” 31์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท

[Spring boot ์—๋Ÿฌ] Cannot resolve symbol 'EnableWebSecurity' ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

๐Ÿ†˜ ๋ฌธ์ œ์  Spring boot์—์„œ Spring Security๋ฅผ ํ†ตํ•ด ๋กœ๊ทธ์ธ์„ ๊ตฌํ˜„ํ•˜๋ ค๊ณ  ํ•˜๋Š” ๋„์ค‘ Cannot resolve symbol 'EnableWebSecurity' ๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค. ๊ตฌ๊ธ€๋ง์„ ํ†ตํ•ด ๋ฌด์—‡์ด ๋ฌธ์ œ์ธ์ง€ ๊ฒ€์ƒ‰ํ•ด๋ณธ ๊ฒฐ๊ณผ, build.gradle์— dependency๋ฅผ ์ถ”๊ฐ€ํ•˜์ง€ ์•Š์€ ํƒ“์ด์—ˆ๋‹ค. ๐Ÿ’— ํ•ด๊ฒฐ ๋ฐฉ์•ˆ build.g...

2021๋…„ 5์›” 31์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

์—”ํ‹ฐํ‹ฐ ๋งคํ•‘(Entity Mapping)

JPA๋ฅผ ์‚ฌ์šฉํ•ด์„œ ํ…Œ์ด๋ธ”๊ณผ ๋งคํ•‘ํ•  ํด๋ž˜์Šค๋Š” @Entity๋ฅผ ๊ผญ ๋ถ™์—ฌ์•ผ ํ•œ๋‹ค. ์ด๋Š” JPA๊ฐ€ ๊ด€๋ฆฌํ•˜๋Š” ํด๋ž˜์Šค์ด๊ณ , ๋ฐ์ดํ„ฐ์˜ ์ง‘ํ•ฉ์„ ์˜๋ฏธํ•œ๋‹ค.@Entity ์‚ฌ์šฉ ์‹œ ์ฃผ์˜์‚ฌํ•ญ ๊ธฐ๋ณธ ์ƒ์„ฑ์ž๋Š” ํ•„์ˆ˜(ํŒŒ๋ผ๋ฏธํ„ฐ๊ฐ€ ์—†๋Š” public or protected ์ƒ์„ฑ์ž)final, enum

2021๋…„ 5์›” 22์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

์˜์†์„ฑ ์ปจํ…์ŠคํŠธ(Persistence Context)

์—”ํ‹ฐํ‹ฐ๋ฅผ ์˜๊ตฌ ์ €์žฅํ•˜๋Š” ํ™˜๊ฒฝ์„ ๋œปํ•œ๋‹ค. ์—”ํ‹ฐํ‹ฐ ๋งค๋‹ˆ์ €(Entity Manager)๋ฅผ ํ†ตํ•ด์„œ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•˜๋‹ค.๐Ÿ”น ํ™œ์šฉ ์˜ˆ์‹œ \-> persist() ๋ฉ”์†Œ๋“œ๋ฅผ ํ†ตํ•ด em(Entity Manager)์„ ์‚ฌ์šฉํ•ด์„œ ํšŒ์› ์—”ํ‹ฐํ‹ฐ๋ฅผ ์˜์†์„ฑ ์ปจํ…์ŠคํŠธ์— ์ €์žฅํ•จ.์—”ํ‹ฐํ‹ฐ์˜ ์ƒ๋ช…์ฃผ๊ธฐ์—๋Š” ์ด

2021๋…„ 5์›” 20์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท
post-thumbnail

H2 Database ์‹คํ–‰ ๋ฐฉ๋ฒ•, ์—ฐ๊ฒฐ ๋ฐฉ๋ฒ• (Windows ๊ธฐ์ค€)

๐Ÿ”Ž H2 Database๋ž€? > ์ž๋ฐ”๋กœ ์ž‘์„ฑ๋œ ๊ด€๊ณ„ํ˜• ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ด€๋ฆฌ ์‹œ์Šคํ…œ์ด๋‹ค. ์ž๋ฐ” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ์ž„๋ฒ ๋“œํ•˜๊ฑฐ๋‚˜ ํด๋ผ์ด์–ธํŠธ-์„œ๋ฒ„ ๋ชจ๋“œ์—์„œ ๊ตฌ๋™ํ•  ์ˆ˜ ์žˆ๋‹ค. H2 ์‹คํ–‰ ๋ฐฉ๋ฒ•, ์—ฐ๊ฒฐ ๋ฐฉ๋ฒ• (Windows ๊ธฐ์ค€) > ์ด์ „๊นŒ์ง€๋Š” ํ•™๊ต์—์„œ ๋ฐฐ์šด ๊ฐ•์˜ ํ† ๋Œ€๋กœ MySQL์„

2021๋…„ 5์›” 17์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
ยท