๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ23

[Java] Unsupported major.minor version 52.0 Error ํ”„๋กœ์ ํŠธ ์„ธํŒ… ๋„์ค‘ java.lang.UnsupportedClassVersionError: org/springframework/util/StopWatch : Unsupported major.minor version 52.0 (unable to load class org.springframework.util.StopWatch) ๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€์Šต๋‹ˆ๋‹ค. version 52.0์€ jar ํŒŒ์ผ์˜ ๋นŒ๋“œ jdk ๋ฒ„์ „์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. ์ˆซ์ž ๋ณ„ ์ž๋ฐ” ๋ฒ„์ „ Java SE 13 = 57 (0x39hex) Java SE 12 = 56 (0x38 hex) Java SE 11 = 55 (0x37 hex) Java SE 10 = 54 (0x36 hex) Java SE 9 = 53 (0x35 hex) Java SE 8 = 52 .. 2022. 6. 10.
[Spring] log cannot be resolved Error ํ”„๋กœ์ ํŠธ๋ฅผ ๋„์šฐ๋Š” ๋„์ค‘ Problems์—์„œ log cannot be resolved ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ด ์‹คํ–‰์ด ๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ํ•ด๊ฒฐ๋ฐฉ์•ˆ 1. Maven Dependencies > lombok.jar ํŒŒ์ผ ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ ํด๋ฆญ > Run As > Java Application ํด๋ฆญ์œผ๋กœ jar ์‹คํ–‰ 2. Specify location > ํ˜„์žฌ ์ดํด๋ฆฝ์Šค ์œ„์น˜์˜ sts.ini ์„ ํƒ > ๋นˆ์นธ์ด์—ˆ๋˜ IDEs์— path ์ƒ์„ฑ 3. Install / Update ํด๋ฆญ 4. Project > Clean > ํ•ด๋‹นํ”„๋กœ์ ํŠธ ์„ ํƒ > Clean > restart * Lombok ์—ฌ๋Ÿฌ๊ฐ€์ง€ ์–ด๋…ธํ…Œ์ด์…˜์„ ์ œ๊ณตํ•˜์—ฌ ๋ฐ˜๋ณต ์†Œ์Šค์ฝ”๋“œ(getter, setter...)๋ฅผ compile ๊ณผ์ •์—์„œ ์ƒ์„ฑํ•ด์ฃผ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ฐธ๊ณ : https://parino.. 2022. 6. 3.
[Spring] project ".." is missing required annotation processor library Error ๋ฌธ์ œ์  svn์—์„œ check out ๋ฐ›์€ ํ”„๋กœ์ ํŠธ์—์„œ ๋ฐœ์ƒํ•œ ์˜ค๋ฅ˜ project ".." is missing required annotation processor library ์˜ค๋ฅ˜๊ฐ€ ์—ฌ๋Ÿฌ๊ฐ€์ง€ ํŒŒ์ผ์—์„œ ๋ฐœ์ƒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ํ•ด๊ฒฐ๋ฒ• Package ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ ํด๋ฆญ > properties > Java Compiler > Annotation Processing > Factory Path > Enable project specific setting ์ฒดํฌ ํ•ด์ œ Apply and Close ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์ž๋™์œผ๋กœ ํ•ด๋‹น ์—๋Ÿฌ๊ฐ€ ์‚ฌ๋ผ์ง‘๋‹ˆ๋‹ค. ์ฐธ๊ณ  : https://stackoverflow.com/questions/69214655/project-is-missing-required-annotation-processing-li.. 2022. 5. 19.
[์›น ์ ‘๊ทผ์„ฑ] focus๋ฅผ ์œ„ํ•œ tabindex ์›น ์ ‘๊ทผ์„ฑ์„ ์œ„ํ•œ ํ‚ค๋ณด๋“œ Tab ํด๋ฆญ์„ ํ†ตํ•ด focus ์ด๋™์‹œ, interactive element์ธ , , , , ๋“ฑ์˜ ์š”์†Œ๋“ค์€ ์ž๋™์œผ๋กœ focus๊ฐ€ ์žกํž™๋‹ˆ๋‹ค. tabindex = "0" ์ด์™ธ์˜ ์ด๋‚˜ ๋“ฑ์˜ ์š”์†Œ์—๋„ focus๋ฅผ ์žก๊ณ  ์‹ถ๋‹ค๋ฉด tabindex="0"๋ฅผ ์ถ”๊ฐ€ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. tabindex = "-1" ๊ธฐ๋ณธ์ ์œผ๋กœ focus๊ฐ€ ์žกํžˆ๋Š” ์š”์†Œ์— ์ž๋™์œผ๋กœ focus๊ฐ€ ์žกํžˆ์ง€ ์•Š๊ฒŒ ํ•˜๋ ค๋ฉด tabindex="-1"๋ฅผ ์ถ”๊ฐ€ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. tabindex = "์–‘์ˆ˜" ์›ํ•˜๋Š” ์ˆœ์„œ๋Œ€๋กœ focus๋ฅผ ์žก๊ณ  ์‹ถ๋‹ค๋ฉด tabindex="1", tabindex="2", tabindex="3", ...., tabindex="0" ์ด๋Ÿฌํ•œ ์–‘์ˆ˜ ์ˆœ์„œ๋Œ€๋กœ ์ถ”๊ฐ€ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. focus ์žกํžˆ๋Š” ์ˆœ์„œ : id test1 > tes.. 2022. 4. 21.
[JavaScript] PC Chrome์—์„œ ์•ˆ๋“œ๋กœ์ด๋“œ Mobile ๋ธŒ๋ผ์šฐ์ € ์›น ๋””๋ฒ„๊น…ํ•˜๊ธฐ PC Chrome์—์„œ ์•ˆ๋“œ๋กœ์ด๋“œ Mobile ๋ธŒ๋ผ์šฐ์ € ์›น ๋””๋ฒ„๊น… ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์„ ์„ค๋ช…๋“œ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค. 1. ์•ˆ๋“œ๋กœ์ด๋“œ ๊ธฐ๊ธฐ ์„ค์ • ์ฐธ๊ณ : https://developer.android.com/studio/debug/dev-options.html - ์„ค์ • > ๊ฐœ๋ฐœ์ž์˜ต์…˜ > ๋””๋ฒ„๊น… > USB ๋””๋ฒ„๊น… ๋ฒ„ํŠผ ํ™œ์„ฑํ™” 2. Android Debug Bridge ์„ค์น˜ - https://developer.android.com/studio/releases/platform-tools?hl=ko ์ ‘์† ํ›„ SDK ๋‹ค์šด๋กœ๋“œ - ๋‹ค์šด๋กœ๋“œ ํŒŒ์ผ ์••์ถ•ํ’€๊ธฐ - ์‹œ์Šคํ…œ์†์„ฑ > ํ™˜๊ฒฝ๋ณ€์ˆ˜ Path์— ์••์ถ• ํ‘ผ ํŒŒ์ผ ๊ฒฝ๋กœ ์ถ”๊ฐ€ ( ํด๋”๊ฒฝ๋กœ/platform-tools ) 3. ์•ˆ๋“œ๋กœ์ด๋“œ ๊ธฐ๊ธฐ๋ฅผ PC์— USB๋กœ ์—ฐ๊ฒฐ - USB ์—ฐ๊ฒฐ ํ›„ ๊ธฐ๊ธฐ์—์„œ '.. 2022. 4. 21.
[SVN] Eclipse SVN Save authentication ์ž๋™ ๋กœ๊ทธ์ธ ์‹คํŒจ Eclipse SVN ์—ฐ๊ฒฐ์‹œ Save authentication ์ฒดํฌ๋ฅผ ํ•ด๋„ ์ž๋™ ๋กœ๊ทธ์ธ์ด ์•ˆ๋˜๋Š” ํ˜„์ƒ์ด ๊ณ„์† ๋ฐœ์ƒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ํ•ด๊ฒฐ๋ฐฉ์•ˆ C:\Users\์‚ฌ์šฉ์ž๋ช…\AppData\Roaming\Subversion\auth\svn.simple ๊ณ„์ •์ •๋ณด๋ฅผ ์ €์žฅํ•˜๋Š” svn.simple ํด๋”๊ฐ€ ์œ„์น˜ํ•œ ์œ„์˜ ๊ฒฝ๋กœ๋กœ ์ง„์ž…ํ•˜์—ฌ ์•„๋ž˜ ํŒŒ์ผ์„ ์‚ญ์ œํ•ด์ฃผ์„ธ์š” ์‚ญ์ œํ•œ ํ›„ ๋‹ค์‹œ Save authentication ์ฒดํฌ๋ฅผ ํ•˜๋ฉด ์ž๋™ ๋กœ๊ทธ์ธ ์„ค์ •์ด ์™„๋ฃŒ๋ฉ๋‹ˆ๋‹ค. 2022. 4. 21.
[Java] ์›น ์ทจ์•ฝ์„ฑ XSS ํฌ๋กœ์Šค ์‚ฌ์ดํŠธ ์Šคํฌ๋ฆฝํŠธ(XSS : cross-site scripting) ๊ฒ€์ฆ๋˜์ง€ ์•Š์€ ์™ธ๋ถ€ ์ž…๋ ฅ๊ฐ’์„ ์‘๋‹ต์˜ ์ผ๋ถ€๋กœ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ์‚ฌ์šฉ์ž ๋ธŒ๋ผ์šฐ์ €์—์„œ ์•…์˜์ ์ธ ์Šคํฌ๋ฆฝํŠธ๊ฐ€ ์‹คํ–‰๋  ์ˆ˜ ์žˆ๋Š” ๋ณด์•ˆ ์•ฝ์  .... Message ์œ„์˜ ์ฝ”๋“œ์™€ ๊ฐ™์ด request.getParameter("errmsg") ์„ ํ†ตํ•ด ๊ฐ€์ ธ์˜จ parameter ๊ฐ’์„ jsp ํŒŒ์ผ์˜ ๋กœ ๋ฐ”๋กœ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ XSS ๋ณด์•ˆ ์ด์Šˆ๋ฅผ ๋ฐœ์ƒ์‹œํ‚ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•ด๊ฒฐ๋ฐฉ์•ˆ 1. XSS ๋ฐฉ์ง€ ํ•„ํ„ฐ ์‚ฌ์šฉ .... Message errmsg = errmsg.replaceAll("]*)?(\\s)*(/)?>","").replaceAll("\r|\n| ",""); parameter ์ •๋ณด replaceAllํ•˜๋Š” ์ฝ”๋“œ ์ถ”๊ฐ€ 2. JSTL ํƒœ๊ทธ ์‚ฌ์šฉ .... Message.. 2022. 4. 12.
[Java] javax.net.ssl.SSLHandshakeException: connection during handshake ์˜ค๋ฅ˜ ๋‚ด์šฉ javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake ์›์ธ ์„œ๋ฒ„์™€ ํด๋ผ์ด์–ธํŠธ์˜ SSL/TLS ๋ฒ„์ „์ด ๋งž์ง€ ์•Š์•„ ๋ฐœ์ƒ ๊ณผ๊ฑฐ Tomcat jdk 1.6๋ฒ„์ „ ์‚ฌ์šฉํ–ˆ์„๋•Œ ์„œ๋ฒ„ arguments์— '-Dhttps.protocols=TLSv1'๋ฅผ ์ถ”๊ฐ€ํ–ˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๋ฐฉ์•ˆ System.setProperty("https.protocols", "TLSv1.2"); ์ฝ”๋“œ์— ์ถ”๊ฐ€ ํ˜„์žฌ๋Š” Tomcat jdk 1.8์„ ์‚ฌ์šฉํ•˜์—ฌ '-Dhttps.protocols=TLSv1'๋ฅผ ์‚ญ์ œํ•ด์ฃผ์—ˆ๋”๋‹ˆ ์ •์ƒ ๋™์ž‘ํ•˜์˜€์Šต๋‹ˆ๋‹ค. ์ฐธ๊ณ : https://sagittariusof85s.tistory.com/158 2022. 3. 23.
๋ฐ˜์‘ํ˜•