error 3

# Intellij SpringBoot ๊ธฐ๋™ error # Failed to parse configuration class

์–ผ๋งˆ ์ „๋ถ€ํ„ฐ SpringBoot๋ฅผ ๋ณธ๊ฒฉ์ ์œผ๋กœ ๊ณต๋ถ€ํ•˜๊ธฐ ์‹œ์ž‘ํ–ˆ๋Š”๋ฐ, ์˜ค๋Š˜ ํ™ฉ๋‹นํ•œ ๊ฒฝํ—˜์„ ํ–ˆ๋‹ค. ์ด ๋ฌธ์ œ๊ฐ€ IDE๋ณ„๋กœ ์ฐจ์ด๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๋ฌธ์ œ์ธ์ง€๋Š” ๋ชจ๋ฅด๊ฒ ์œผ๋‚˜, ํ•„์ž์˜ ๊ฐœ๋ฐœํˆด์€ Intellij๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค. ๋จผ์ € ์—๋Ÿฌ ๋กœ๊ทธ์™€ ์ƒํ™ฉ์„ ๋ณด์ž. # error log org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [๊ฐœ๋ฐœ ํ™˜๊ฒฝ] - Intellij - multi module gradle - SpringBoot ์œ„ ๊ฐ™์ด ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์„ ๊ตฌ์„ฑํ•˜๊ณ  main class๋ฅผ ์ž‘์„ฑํ–ˆ์„ ๋ฟ์ธ๋ฐ, ์ €๋Ÿฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. [ํ•ด๊ฒฐ๋ฐฉ์•ˆ] main class๋ฅผ package ์•ˆ์— ์œ„์น˜ ์‹œ์ผœ๋ผ. ์—๋Ÿฌ๊ฐ€ ๊น”๋”ํžˆ ์‚ฌ๋ผ..

JAVA/Error 2019.11.05

# Spring Boot # Content type 'text/plain;charset=UTF-8' not supported

@RequestMapping ๊ฐ’์„ ๋ฐ›์œผ๋ ค๋Š”๋ฐ ์•„๋ž˜ Error ๋ฐœ์ƒ [์‹œ๊ฐ„] WARN 8 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'text/plain;charset=UTF-8' not supported] ํ•ด๊ฒฐ๋ฒ• Headers์— Content-Type:application/json ์„ ๋„ฃ์–ด๋ผ.

JAVA/Error 2019.10.24

# haproxy ์—๋Ÿฌ [ALERT] 015/013939 (22640) : Starting frontend public: cannot bind socket [0.0.0.0:80]

haproxy ์„ค์น˜ ํ›„ ๊ธฐ๋™ํ•  ๋•Œ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค. [ALERT] 015/013939 (22640) : Starting frontend public: cannot bind socket [0.0.0.0:80] ์ด๋Š” SELinux ๋ณด์•ˆ ์ •์ฑ…๊ณผ ์ถฉ๋Œ์ด ๋‚˜์„œ ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์ด๋‹ค. haproxy๊ฐ€ ์ƒ์„ฑํ•œ ํฌํŠธ๋ฅผ ๋ชจ๋‘ ํ—ˆ์šฉํ•˜๋„๋ก ์„ค์ •ํ•˜๋ฉด ๋œ๋‹ค. $ setsebool -P haproxy_connect_any 1 ๋

Cloud/Error 2019.09.10