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

๊ฐœ๋ฐœ8

[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.
[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] 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.
[๋ณด์•ˆ] DMZ ๋„คํŠธ์›Œํฌ DMZ(Demilitarized zone, ๋น„๋ฌด์žฅ์ง€๋Œ€) ์กฐ์ง์˜ ๋‚ด๋ถ€ ๋„คํฌ์›Œํฌ(์ธํ„ฐ๋„ท)์™€ ์™ธ๋ถ€ ๋„คํŠธ์›Œํฌ ์‚ฌ์ด์— ์œ„์น˜ํ•œ ์„œ๋ธŒ๋„ท DMZ ์•ˆ์— ์žˆ๋Š” ํ˜ธ์ŠคํŠธ๋“ค์€ ๋‚ด๋ถ€ ๋„คํŠธ์›Œํฌ๋กœ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์—†์–ด, DMZ ์•ˆ์˜ ํ˜ธ์ŠคํŠธ์˜ ์นจ์ž…์œผ๋กœ๋ถ€ํ„ฐ ๋‚ด๋ถ€ ๋„คํŠธ์›Œํฌ๋ฅผ ๋ณดํ˜ธ ๋ณด์•ˆ์˜ ๋ชฉ์ ์œผ๋กœ ํ์‡„ ํ˜•ํƒœ์˜ ๋‚ด๋ถ€ ๋„คํŠธ์›Œํฌ๋งŒ ์‚ฌ์šฉํ•˜๋Š” ๊ธฐ๊ด€๋“ค์—๊ฒŒ ํ•„์š” ์™ธ๋ถ€์—์„œ ์ ‘๊ทผ๋˜์–ด์•ผ ํ•  ํ•„์š”๊ฐ€ ์žˆ๋Š” ์„œ๋ฒ„๋“ค์„ ์œ„ํ•ด ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. ex. ๋ฉ”์ผ์„œ๋ฒ„, ์›น์„œ๋ฒ„, DNS ์„œ๋ฒ„ ์‚ผ๊ฐ ๋ฐฉํ™”๋ฒฝ ์„ค์ •(three-legged firewall set-up) ๋ฐฉํ™”๋ฒฝ ์„ค์ • ์˜ต์…˜์„ ํ†ตํ•ด DMZ ํ˜•์„ฑ ์ด ์˜ต์…˜์„ ํ†ตํ•ด ๊ฐ๊ฐ์˜ ๋„คํŠธ์›Œํฌ๋Š” ๋ฐฉํ™”๋ฒฝ์— ์„œ๋กœ ๋‹ค๋ฅธ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์—ฐ๊ฒฐ ์ฐจ๋‹จ๋œ ์„œ๋ธŒ๋„ท ๋ฐฉํ™”๋ฒฝ(screened-subnet firwall) ๋‘๊ฐœ์˜ ๋ฐฉํ™”๋ฒฝ ์ค‘๊ฐ„์— DMZ๋ฅผ ์—ฐ๊ฒฐํ•˜๋Š” ๋” ๊ฐ•๋ ฅํ•œ.. 2022. 1. 20.
[Vue.js] CLI 2.x ๊ณผ 3.x ๋น„๊ต ๋ช…๋ น์–ด 2.x vue init 'ํ”„๋กœ์ ํŠธ ํ…œํ”Œ๋ฆฟ ์ด๋ฆ„' 'ํŒŒ์ผ ์œ„์น˜' 3.x vue create 'ํ”„๋กœ์ ํŠธ ์ด๋ฆ„' ์›นํŒฉ ์„ค์ • ํŒŒ์ผ 2.x webpack.config.js ๋…ธ์ถœ O 3.x webpack.config.js ๋…ธ์ถœ X ์ด์œ : ์ƒ๋‹นํžˆ ๋ณต์žกํ•˜์—ฌ ์‚ฌ์šฉ์ž๋“ค์—๊ฒŒ ๋…ธ์ถœ์กฐ์ฐจ ํ•˜์ง€ ์•Š๊ณ  ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋‚ด๋ถ€์—์„œ ์•Œ์•„์„œ ์ฒ˜๋ฆฌ ํ”„๋กœ์ ํŠธ ๊ตฌ์„ฑ 2.x ๊นƒํ—™์˜ ํ…œํ”Œ๋ฆฟ ๋‹ค์šด๋กœ๋“œ(npm install ์ถ”๊ฐ€๋กœ ํ•„์š”) 3.x ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ ES6 ์ดํ•ด๋„ 2.x ํ•„์š” x(App.vue ํŒŒ์ผ์—์„œ ์ฐธ๊ณ  ๊ฐ€๋Šฅ) 3.x ํ•„์š” O(์ถ•์•ฝ๋ฌธ๋ฒ•๋„ ํ•„์š”) ์ถœ์ฒ˜: ์ธํ”„๋Ÿฐ Vue.js ์™„๋ฒฝ ๊ฐ€์ด๋“œ - ์‹ค์Šต๊ณผ ๋ฆฌํŒฉํ† ๋ง์œผ๋กœ ๋ฐฐ์šฐ๋Š” ์‹ค์ „ ๊ฐœ๋… ๊ฐ•์˜ 2022. 1. 9.
[WAS] http → https ๋กœ ๋ณ€ํ™˜ํ•˜๊ธฐ http → https ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๊ณผ์ •์„ ์•Œ์•„๋ด…์‹œ๋‹ค. 1. KeyStore ํŒŒ์ผ private key, certificate ๋“ฑ์„ ์ €์žฅํ•˜๋Š” ํŒŒ์ผ C:/Users/์‚ฌ์šฉ์ž๋ช… ๊ฒฝ๋กœ์— ํŒŒ์ผ ์œ„์น˜ 2. Tomcat ์„œ๋ฒ„์˜ server.xml ์„ค์ • ์ฃผ์„์ฒ˜๋ฆฌ (26๋ฒˆ์งธ ์ค„) ํƒœ๊ทธ ์‚ฌ์ด์— Connector ํƒœ๊ทธ ์ถ”๊ฐ€ โ€‹ keystoreFile: keystore ํŒŒ์ผ ์œ„์น˜ keystorePass: keystore ํŒŒ์ผ ๋น„๋ฐ€๋ฒˆํ˜ธ port: ํฌํŠธ๋ฒˆํ˜ธ (443์ด ๊ธฐ๋ณธ) 2022. 1. 3.
[Javascript] XMLHttpRequest ํ†ต์‹  // XMLHttpRequest ๊ฐ์ฒด ์ƒ์„ฑ var xmlHttpRequest = new XMLHttpRequest() XMLHttpRequest Ajax์™€ ๊ฐ™์ด ๋น„๋™๊ธฐ์ ์œผ๋กœ ์„œ๋ฒ„์™€ ๋ธŒ๋ผ์šฐ์ €๊ฐ€ ๋ฐ์ดํ„ฐ๋ฅผ ์ฃผ๊ณ ๋ฐ›๋Š” ๋ฐฉ์‹์—์„œ ์‚ฌ์šฉํ•˜๋Š” API ์ „์ฒด ํŽ˜์ด์ง€์˜ ์ƒˆ๋กœ๊ณ ์นจ ์—†์ด๋„ URL๋กœ๋ถ€ํ„ฐ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ›์•„์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค // onreadystatechange ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ ์ž‘์„ฑ xmlHttpRequest.onreadystatechange = function(){ // ์„œ๋ฒ„์ƒ์— ๋ฌธ์„œ๊ฐ€ ์กด์žฌํ•˜๊ณ  ์š”์ฒญํ•œ ๋ฐ์ดํ„ฐ ์„œ๋ฒ„ ์ฒ˜๋ฆฌ๊ฐ€ ์™„๋ฃŒ๋˜์–ด ์‘๋‹ตํ•  ์ค€๋น„ ์™„๋ฃŒ if(xmlHttpRequest.readyState == 4){ if(xmlHttpRequest.status == 200){ callbackFunction(0, xmlHttpRe.. 2021. 12. 30.
๋ฐ˜์‘ํ˜•