Banner

My Tech Blog (Eclipse)

1. ๋ฌธ์ œ์ดํด๋ฆฝ์Šค ์—์„œ ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ๋‚ด ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ๋กœ  ํ‘ธ์‰ฌํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ ์•„๋ž˜ ๊ฒฝ๊ณ ์ฐฝ์ด ๋œจ๋ฉด์„œ ์•ˆ ๋จCan't connect to any URI:๋‚ด ๊นƒํ—ˆ๋ธŒ ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ์ฃผ์†Œ git: not authorized ์ธ์ฆ๋˜์ง€ ์•Š์€ ์‚ฌ์šฉ์ž๋ผ์„œ ๋‚ด ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ์— ์ ‘๊ทผํ•  ์ˆ˜ ์—†๋Š” ๊ฒƒ์ด๋‹ค.  2. ์›์ธ๊นƒํ—ˆ๋ธŒ(GitHub)์—์„œ๋Š” ๊ธฐ์กด์˜ ์•„์ด๋””, ํŒจ์Šค์›Œ๋“œ ์ธ์ฆ์„ ์—†์• ๊ณ  ID/Personal Access Token ์œผ๋กœ ์ธ์ฆ๋ฐฉ์‹์„ ๋ณ€๊ฒฝํ–ˆ๋‹ค. (2021.08.13) ์ดํด๋ฆฝ์Šค์—์„œ ๊นƒํ—ˆ๋ธŒ ์—ฐ๋™์—๋Š” ์„ฑ๊ณตํ•ด๋„Personal Token์„ ๋“ฑ๋กํ•˜์ง€ ์•Š์œผ๋ฉด ์ €๋ ‡๊ฒŒ ๋จ. ๊นƒํ—ˆ๋ธŒ์—์„œ ํ† ํฐ ๋ฐ›์•„์„œ ๋“ฑ๋ก ํ•ด ์ฃผ์ž 3. ํ•ด๊ฒฐ๋ฒ•3-1. ํ† ํฐ ์ƒ์„ฑํ•˜๊ธฐGitHub ํ™ˆํŽ˜์ด์ง€ ์ ‘์† -> ์˜ค๋ฅธ์ชฝ ์ƒ๋‹จ ํ”„๋กœํ•„ -> Settings > Developer settin..
1. ์ดํด๋ฆฝ์Šค์— ๊นƒํ—ˆ๋ธŒ ์—ฐ๋™ํ•˜๊ธฐ ์ƒ๋‹จ๋ฉ”๋‰ด [Window] - [Show View] - [Other] [Git] - [Git Repositories] - ๋งˆ์šฐ์Šค ์šฐํด๋ฆญ [Clone a Git Repository] URI: ๋‚ด ๊นƒํ—ˆ๋ธŒ ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ URI (HTTP)User  & password : ๋‚ด ๊นƒํ—ˆ๋ธŒ ์•„์ด๋””์™€ ๊นƒํ† ํฐ ์ž…๋ ฅํ•˜๊ณ  [Next] - [Finish] ๊นƒํ—ˆ๋ธŒ์™€ ์—ฐ๋™ํ•˜๊ณ ์ž ํ•˜๋Š” ํ”„๋กœ์ ํŠธ ๋งˆ์šฐ์Šค ์šฐํด๋ฆญ [Team] - [Share Project..] ํด๋ฆญ Repository: ์•„๊นŒ Git Repositories์—์„œ ๋งŒ๋“ค์–ด ๋†จ๋˜ ๊ฒฝ๋กœ๋ฅผ ํด๋ฆญ ๊ทธ๋ฆฌ๊ณ  [Finish] ์ปค๋ฐ‹ํ•˜๋ ค๋ฉด ํ”„๋กœ์ ํŠธ ๋งˆ์šฐ์Šค ์šฐํด๋ฆญ [Team] - [Commit]  - [Unstaged Chages] ์— ์žˆ๋Š” ํŒŒ์ผ๋“ค์„ ์ƒ๋‹จ [++] ์„ ..
1. write.jsp ๊ธ€์“ฐ๊ธฐ ํŽ˜์ด์ง€ ๋งŒ๋“ค๊ธฐ ๋จผ์ € ๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ ํŽ˜์ด์ง€ `write.jsp`๋ฅผ ๋งŒ๋“ค์–ด ์ฃผ๋ ค๊ณ  ํ•œ๋‹ค.`bbs.jsp`๋ฅผ ๋ณต์‚ฌํ•ด์„œ ๋ถ™์—ฌ ๋„ฃ๊ณ  ์ค‘๊ฐ„ ๋ถ€๋ถ„๋งŒ ์ˆ˜์ • ํ•ด ์ค„ ๊ฒƒ์ด๋‹ค. nav๋ฐ” ์•„๋ž˜ ๋ถ€๋ถ„์— ์ด๋ ‡๊ฒŒ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑBootstrap5 ์ด์šฉํ–ˆ๋‹ค. โšก `mt-5` margin-top: 5rem;  โšก ``ํƒœ๊ทธ์— `required` ์†์„ฑ ๋„ฃ์œผ๋ฉด ๋ธŒ๋ผ์šฐ์ €์—์„œ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๋ฅผ ํ•จ. ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅ ์•ˆ ํ•œ ์ฑ„๋กœ submit ํ•˜๋ฉด `์ด ์ž…๋ ฅ๋ž€์„ ์ž‘์„ฑํ•˜์„ธ์š”.` ๋ผ๋Š” ๊ฒฝ๊ณ  ๋ฉ”์„ธ์ง€๋ฅผ ๋„์šด๋‹ค.  โšก `form-control` ํด๋ž˜์Šค Bootstrap์—์„œ ์ œ๊ณตํ•˜๋Š” ํด๋ž˜์Šค ์ค‘ ํ•˜๋‚˜๋กœ, ์ž…๋ ฅ ํ•„๋“œ์˜ ์Šคํƒ€์ผ์„ ์‰ฝ๊ฒŒ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ์ ์šฉํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉ๋จ.์ด๊ฑฐ ์“ฐ๋ฉด ์ž…๋ ฅ ํ•„๋“œ(input, textarea, select ๋“ฑ)๊ฐ€ ๊ธฐ๋ณธ..
1. ๊ฒŒ์‹œํŒ ๋ฉ”์ธ ํŽ˜์ด์ง€ `bbs.jsp`๋งŒ๋“ค๊ธฐ๋จผ์ € `main.jsp` ํŽ˜์ด์ง€์—์„œ ๊ฒŒ์‹œํŒ ๋ถ€๋ถ„ href ์†์„ฑ์— "bbs.jsp" ๋ฅผ ์—ฐ๊ฒฐํ•ด์ค€๋‹ค.  `main.jsp` ํŽ˜์ด์ง€๋ฅผ ๋ณต์‚ฌํ•ด์„œ webapp ์—๋‹ค ๋ถ™์—ฌ๋„ฃ๊ธฐ ํ•˜๊ณ  ์ด๋ฆ„๋งŒ `bbs.jsp`๋กœ ๋ฐ”๊พธ์ž.์—ฌ๊ธฐ์„œ ์ฝ”๋“œ์— ์†์„ ์ข€ ๋ณผ ๊ฒƒ์ด๋‹ค. ๋งŒ๋“ค์—ˆ์œผ๋ฉด `Home`์— ์žˆ๋˜ active ํด๋ž˜์Šค๋ฅผ `๊ฒŒ์‹œํŒ`์œผ๋กœ ์˜ฎ๊ฒจ ์ค˜์„œ ํ˜„์žฌ ์„ ํƒํ•œ ํŽ˜์ด์ง€์ž„์„ ๊ฐ€์‹œ์ ์œผ๋กœ ๋ณด์—ฌ ์ค€๋‹ค. ๊ทธ ๋‹ค์Œ ๋„ค๋น„๊ฒŒ์ด์…˜๋ฐ” ์•„๋ž˜์— ๊ฒŒ์‹œํŒ ํ˜•์‹์˜ ํ…Œ์ด๋ธ”์„ ์‚ฝ์ž… ํ•ด ์ค€๋‹ค.ํ…Œ์ด๋ธ”์„ ๋งŒ๋“ค๊ธฐ ์ „์—  `` ํƒœ๊ทธ๋กœ container์™€ row ์˜์—ญ์„ ์žก์•„ ์ฃผ๊ณ  ํ…Œ์ด๋ธ”์„ ๋งŒ๋“ค์–ด์ฃผ์ž.  ๋ฒˆํ˜ธ ..
โš ๏ธ ๋ฌธ์ œ์ดํด๋ฆฝ์Šค Problems ํƒญ์— ์—๋Ÿฌ ๋œธJava complier level does not match the version of the installed Java project facet. ํ•ด์„์ž๋ฐ” ์ปดํŒŒ์ผ๋Ÿฌ ๋ฒ„์ „์ด ์ง€๊ธˆ ๊น”๋ฆฐ ์ž๋ฐ” ํ”„๋กœ์ ํŠธ์˜ ๋ฒ„์ „์ด๋ž‘ ๋งž์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๐Ÿง ์›์ธ๋ฉฐ์น  ์ „์— ์ตœ์‹  ๋ฒ„์ „ ์ดํด๋ฆฝ์Šค๋ฅผ ๋‹ค์šด ๋ฐ›์•˜๊ณ  ๊ทธ์— ๋งž๊ฒŒ JDK๋„ ์ตœ์‹  ๋ฒ„์ „์ธ `JDK23`์„ ๋‹ค์šด๋ฐ›์•„ ์ฃผ์—ˆ๋‹ค.๊ทธ๋Ÿฐ๋ฐ ํ”„๋กœ์ ํŠธ ์šฐํด๋ฆญ > `Properties` > `Java Complier` ํƒญ์— ์ปดํŒŒ์ผ๋Ÿฌ๊ฐ€ 22๊นŒ์ง€๋ฐ–์— ์•ˆ ๋œฌ๋‹ค. ํ˜ธํ™˜๋˜๋Š”๊ฑด 23๊ฐ™์€๋ฐ...? JDK ์—ฐ๊ฒฐ์ด ์ œ๋Œ€๋กœ ์•ˆ ๋ฌ๋‚˜ ์‹ถ์–ด์„œ `Preferences` > `Java Build Path` > `Libraries` > JRE System Library์— ๋“ค์–ด๊ฐ€..
โš ๏ธ๋ฌธ์ œEclipse ๋ฐ”๋กœ๊ฐ€๊ธฐ ๋ฒ„ํŠผ ํด๋ฆญ์‹œ Launcher ์‹คํ–‰์ด ๋˜์ง€ ์•Š์Œ. ์—๋Ÿฌ ๋ฉ”์„ธ์ง€ The Eclipse executable launcher was unable to locate i ts companion shared liabray. ํ•„์ž๋Š” ํ•ด๋‹น ๋ฌธ์ œ๋ฅผ ๋‘ ๋ฒˆ ๊ฒช์—ˆ๋Š”๋ฐ, ์ฒซ ๋ฒˆ์งธ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๋Œ€๋กœ ํ•ด๋ณด์•˜์œผ๋‚˜ ์ด๋ฒˆ์—๋Š” ํ•ด๊ฒฐ์ด ๋˜์ง€ ์•Š์•„์„œ ๋‹ค๋ฅธ ๋ฐฉ๋ฒ•์œผ๋กœ ํ•ด๊ฒฐํ•ด ์ฃผ์—ˆ์Šต๋‹ˆ๋‹ค. ์ €๋ฒˆ์—๋Š” `eclipse.ini` ํŒŒ์ผ์˜ `-vm` ๊ฒฝ๋กœ (jvm๊ฒฝ๋กœ) ๊ฐ€ ์ž˜๋ชป ์ง€์ •๋˜์–ด ํ•ด๋‹น ๋ถ€๋ถ„๋งŒ์„ ์ˆ˜์ •ํ•ด ์ฃผ๋‹ˆ ๋‹จ์ˆœํžˆ ํ•ด๊ฒฐ์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์ œ๊ฐ€ ์ผ์–ด๋‚˜๋Š” ์ด์œ ๋Š” ํฌ๊ฒŒ ๋‘ ๊ฐ€์ง€ ์ž…๋‹ˆ๋‹ค. 1. ๋‹จ์ˆœํžˆ eclipse.ini ์—์„œ ๊ฒฝ๋กœ๊ฐ€ ์ž˜๋ชป๋˜์—ˆ์Œ. (ํ•„์ž์˜ ๊ฒฝ์šฐ ์ฒซ๋ฒˆ์งธ ์—๋Ÿฌ๋Š” ์ด๊ฒŒ ์›์ธ) 2. ์‹คํ–‰ํŒŒ์ผ ์ž์ฒด๊ฐ€ ์‚ญ์ œ๋˜๊ฑฐ๋‚˜ ์†์ƒ..
์ธ์ ˆ๋ฏธ์˜€๋˜๊ฒƒ
'Eclipse' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก
์ƒ๋‹จ์œผ๋กœ