Banner

My Tech Blog (๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ)

์ดํด๋ฆฝ์Šค ๋ฐ”๋กœ๊ฐ€๊ธฐ ์•„์ด์ฝ˜ ์‹คํ–‰์ด ์•ˆ ๋˜๋Š” ๋ฌธ์ œ  ํ•ด๊ฒฐ๋ฒ• ์—๋Ÿฌ ๋ฐœ์ƒ์‹œ eclipse.ini ํŒŒ์ผ์—์„œ `-startup`, `-launcher.library` ๊ฒฝ๋กœ๋ฅผ ์ •ํ™•ํžˆ ์ง€์ •ํ•ด์ฃผ์ž.  org.eclipse.equinox.launcher ๋กœ ์‹œ์ž‘ํ•˜๋Š” jarํŒŒ์ผ์€ startup ๊ฒฝ๋กœ๋กœ org.eclipse.equinox.launcher ๋กœ ์‹œ์ž‘ํ•˜๋Š” ํด๋”๋Š” launcher.library ๊ฒฝ๋กœ๋กœ ์ง€์ •ํ•ด์ฃผ๊ธฐ ์ด๋ ‡๊ฒŒ ํ–ˆ๋Š”๋ฐ๋„ ์•ˆ ๋œ๋‹ค๋ฉด?ํ•„์ž์˜ ๊ฒฝ์šฐ ์œ„ ๊ฒฝ๋กœ๋ฅผ ์ˆ˜์ • ํ•ด ์ฃผ์ž ๋‹ค๋ฅธ ์—๋Ÿฌ ๋ฉ”์„ธ์ง€๋ฅผ ์ถ”๊ฐ€๋กœ ๋ฐ›์•˜๋‹ค.  -vm ์ด๊ฑด JVM ๊ฒฝ๋กœ ์žก์•„์ฃผ๋Š” ๊ฒƒ JVM.dll ์ด ์œ„์น˜ํ•˜๋Š” bin ํด๋”๋กœ ๊ฒฝ๋กœ๋ฅผ ์žก์•„์ฃผ์–ด์•ผ ํ•œ๋‹ค.  ์ˆ˜์ •์ „  ์ˆ˜์ • ํ›„  ํ•ด๊ฒฐ์™„๋ฃŒ!!! ์ด๋ ‡๊ฒŒ ํ•ด๋„ ์•ˆ ๋œ๋‹ค๋ฉด? ๊ธ‰ํ•œ๋ฐ๋กœ ๊ทธ๋ƒฅ ์ดํด๋ฆฝ์Šค ํด๋”๋กœ ๊ฐ€์„œ ์‹คํ–‰ํŒŒ์ผ..
์ผ ๋๋‚ด๊ณ  ํ•  ์ผ โœ… `์—ฌ๊ธฐ๋กœ` ์›น์‚ฌ์ดํŠธ์—์„œ ๋Œ€ํ˜•ํ๊ธฐ๋ฌผ ์ˆ˜๊ฑฐ ์‹ ์ฒญํ•œ๊ฑฐ: `์ •์ˆ˜๊ธฐ`, `์ปดํ“จํ„ฐ ์˜์ž`, `๋ชจ๋‹ˆํ„ฐ`, `ํ”Œ๋ผ์Šคํ‹ฑํ†ต`, `๋ฐฅ์†ฅ` ์˜ˆ์•ฝ๋ฒˆํ˜ธ ๋ถ™์—ฌ์„œ ๋‚ด๋†“๊ธฐโœ… ๋นจ๋ž˜ ๊ฐœ๊ธฐโœ… ๊ฑด์กฐ๊ธฐ ๋Œ๋ฆฌ๊ธฐโœ… ์ฃผ๋ฐฉ ์„œ๋ž์žฅ ๋งค์ง ์ŠคํŽ€์ง€๋กœ ํ•œ๋ฒˆ์”ฉ ๋‹ฆ๊ธฐโœ… ํ™”์žฅ์‹ค ์ฒญ์†Œโœ… ์“ฐ๋ ˆ๊ธฐ ๋‚ด๋†“๊ธฐโœ… ์–‘๋ง ์ˆ˜๋‚ฉ์žฅ ์‚ฐ๊ฑฐ์— ์ •๋ฆฌ ๐Ÿš€ ์ดํด๋ฆฝ์Šค ์—๋Ÿฌ The Eclipse executable launcher was unable to locate its companion shared library ์˜ค๋ฅ˜ ๊ณ ์น˜๊ธฐ -startupplugins/org.eclipse.equinox.launcher_1.6.900.v20240613-2009.jar--launcher.libraryC:\Users\aweso\.p2\pool\plugins\org.eclipse.equ..
ํ•ด๊ฒฐ๋œ ํ›„์˜ ๋ชจ์Šต ์˜ค๋ž˜๋งŒ์— ๊นƒํ—ˆ๋ธŒ ๋“ค์–ด์™€์„œ 3d ์ž”๋””๋ฅผ ํ™•์ธํ–ˆ๋Š”๋ฐ 10์›” 29์ผ์— ๋ฉˆ์ถ”์–ด ์žˆ๊ณ  ์ดํ›„ ์ปค๋ฐ‹ํ•œ ๋‚ด์—ญ์€ ๋ฐ˜์˜๋˜์ง€ ์•Š์•˜์Œ. main.yml ํ™•์ธํ•ด ๋ณด์•˜์œผ๋‚˜ ์ฝ”๋“œ์— ์ด์ƒ ์—†์Œ. โš ๏ธ ๋ฌธ์ œhint: Updates were rejected because the remote contains work that you do not hint: have locally. This is usually caused by another repository pushing to hint: the same ref. If you want to integrate the remote changes, use hint: 'git pull' before pushing again. hint: See the 'Note about fa..
โš ๏ธ๋ฌธ์ œmySQL bin ์„ ํ™˜๊ฒฝ๋ณ€์ˆ˜์— ๋“ฑ๋ก ํ•ด ์ฃผ์—ˆ๋Š”๋ฐ๋„ cmd์—์„œ mysql ์‹คํ–‰ ์•ˆ ๋˜๋Š” ๋ฌธ์ œ ์˜ค๋ฅ˜๋‚ด์šฉcmd(๋ช…๋ น ํ”„๋กฌํ”„ํŠธ)์—์„œ mysql -u root -p ํ–ˆ๋Š”๋ฐ 'mysql'์€(๋Š”) ๋‚ด๋ถ€ ๋˜๋Š” ์™ธ๋ถ€ ๋ช…๋ น, ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ํ”„๋กœ๊ทธ๋žจ, ๋˜๋Š” ๋ฐฐ์น˜ ํŒŒ์ผ์ด ์•„๋‹™๋‹ˆ๋‹ค.  ๐Ÿง ์›์ธ์›์ธ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • ๊ฒฝ๋กœ๊ฐ€ ์ž˜๋ชป๋จC:\JSP\mysql-9.1.0-winx64\bin๋กœ ์ž˜๋ชป ์„ค์ •ํ–ˆ๊ธฐ ๋•Œ๋ฌธ ๐Ÿ’ก ํ•ด๊ฒฐ๋ฒ•Program Files ์•„๋ž˜ ์žˆ๋Š” MySQL Server๋กœ ์„ค์ • ํ•ด ์ฃผ์–ด์•ผ ํ•œ๋‹ค.C:\Program Files\MySQL\MySQL Server 8.0\bin๋กœ ๋ฐ” ๊ฟ”์ฃผ๋‹ˆ๊นŒ ๋๋‹ค. C:\JSP\mysql-9.1.0-winx64\bin์™€ C:\Program Files\MySQL\MySQL Server 8.0\b..
๋ถ€ํŠธ ์ŠคํŠธ๋žฉ ๋‹ค์šด๋กœ๋“œ https://getbootstrap.com/docs/5.3/getting-started/download/ DownloadDownload Bootstrap to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, RubyGems, and more.getbootstrap.com bootstrap-5.3.3-distํด๋” ์•ˆ์— ๋“ค์–ด๊ฐ€๋ฉด js๋ž‘ css ํด๋”๊ฐ€ ์žˆ๋‹ค.๋‘ ๊ฐœ ๋“œ๋ž˜๊ทธํ•˜๊ณ  ๋ณต์‚ฌํ•œ ํ›„ ์ดํด๋ฆฝ์Šค๋กœ ๋Œ์•„์™€์„œ  webapp์— ๋ถ™์—ฌ๋„ฃ๊ธฐ ํ•ด์„œ ์ถ”๊ฐ€  js๋Š” ์—‘์Šค ๋œจ๋Š”๊ฒŒ ๋งŽ์•„์„œ ๊ทธ๋ƒฅbootstrap.bundle.min.jsCDN์œผ๋กœ ์ถ”๊ฐ€ โšก ๋ถ€ํŠธ์ŠคํŠธ๋žฉ..
ํ”„๋กœ์ ํŠธ ์šฐํด๋ฆญ > Properties > Project Facet > Dynamic Web Module > ๋ฒ„์ „ ํ™•์ธ6.1์ด์—ˆ๋˜ ๊ฑธ 6.0์œผ๋กœ ํ•ด์ฃผ๋‹ˆ๊นŒ ์ž˜ ๋จ.์ฒ˜์Œ์— Dynamic Web Project ์ƒ์„ฑ์‹œ 6.0์œผ๋กœ ํ–ˆ์—ˆ๋‚˜ ๋ด„  Dynamic Web Module ๋ฒ„์ „์ด 6.1์—์„œ 6.0์œผ๋กœ ๋ณ€๊ฒฝ๋˜์—ˆ์„ ๋•Œ ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋œ ๊ฒƒ์„ ๋ณด๋ฉด, ํ”„๋กœ์ ํŠธ ์„ค์ •์—์„œ ํ†ฐ์บฃ ์„œ๋ฒ„์™€ ๊ด€๋ จ๋œ ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ๋˜ ๊ฒƒ ๊ฐ™๋‹ค. Dynamic Web Project ์ƒ์„ฑ ์‹œ ํ†ฐ์บฃ ์„œ๋ฒ„ ์„ ํƒ์ด๋ž‘ ๋ชจ๋“ˆ ์„ ํƒํ–ˆ์—ˆ๋Š”๋ฐ 6.0 ๋ฒ„์ „์œผ๋กœ ํ–ˆ๋‚˜๋ณด๋‹ค. ๊ทธ๋ž˜์„œ 6.0์ด ํ†ฐ์บฃ ์„œ๋ฒ„๋ž‘ ํ˜ธํ™˜์ด ๋œ ๊ฒƒ ๊ฐ™๋‹ค. Eclipse์—์„œ๋Š” ํ”„๋กœ์ ํŠธ ์„ค์ •์ด ํ†ฐ์บฃ ์„œ๋ฒ„๋‚˜ ๋‹ค๋ฅธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฒ„์ „๊ณผ ์ถฉ๋Œํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์—, ํ”„๋กœ์ ํŠธ์˜ Facet ๋ฒ„์ „์„ ๋งž์ถ”๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•˜๋‹ค.
์ดํด๋ฆฝ์Šค ์›น๊ฐœ๋ฐœํ™˜๊ฒฝ ํ™˜๊ฒฝ์„ค์ • ๋„์ค‘ Tomcat ์„œ๋ฒ„ ์‹คํ–‰ ์•ˆ๋˜๋ฉด์„œ ์•„๋ž˜์˜ ์•„๋ž˜ ๋œธ. Build path specifies execution environment JavaSE-22. There are no JREs installed in the workspace that are strictly compatible with this environment. ํ•ด๊ฒฐ๋ฒ• ์„ค์น˜ํ•œ JDK ๋ž‘ ์ดํด๋ฆฝ์Šค ๋ฒ„์ „์ด ๋‹ฌ๋ผ์„œ ์ƒ๊ธฐ๋Š” ๋ฌธ์ œ์„ค์น˜ํ•œ JDK๋ž‘ ์ดํด๋ฆฝ์Šค ์—ฐ๋™์„ ํ•ด ์ค˜์•ผ ํ•œ๋‹ค.๋‚˜๋Š” JDK17 ์„ ์“ฐ๋‹ค๊ฐ€ ์ดํด๋ฆฝ์Šค ์ƒˆ๋กœ์šด ๋ฒ„์ „์„ ๋‹ค์šด๋ฐ›์œผ๋ฉด์„œ JDK23์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ํ•ด ์ฃผ์–ด์„œ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ์ด๋‹ค.JDK23์€ ์ดํด๋ฆฝ์Šค 2024-12๋ž‘ ํ˜ธํ™˜๋œ๋‹ค.์ดํด๋ฆฝ์Šค ์ตœ์‹ ๋ฒ„์ „ ๋‹ค์šด๋ฐ›์€ ํ›„ ํ”„๋กœ์ ํŠธ ์šฐํด๋ฆญ > Java Build Path > Libra..
JDK download์ œ์–ดํŒ - ์‹œ์Šคํ…œ - ๊ณ ๊ธ‰์‹œ์Šคํ…œ์„ค์ • - ํ™˜๊ฒฝ๋ณ€์ˆ˜ -C:\Program Files\Java\jdk-17 ์ถ”๊ฐ€Path์— C:\Program Files\Java\jdk-17\bin ์ถ”๊ฐ€ Apache Tomcat downloadzip ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ -> ๊ฒฝ๋กœ๋Š” C๋“œ๋ผ์ด๋ธŒ์— JSP๋ผ๋Š” ํด๋” ๋งŒ๋“ค์–ด์ฃผ๊ณ  ์—ฌ๊ธฐ์— ์••์ถ• ํ’€์–ด์คŒC:\JSP\apache-tomcat-10.1.33\binstartup ๋ฐฐ์น˜ํŒŒ์ผ ์‹คํ–‰ํ•ด์„œ ์„œ๋ฒ„ ์ž‘๋™์‹œํ‚ค๊ธฐ๊ทธ์ „์— ํ˜„์žฌ ์œ„์น˜ ๋ณต์‚ฌํ•ด์„œ cmd(๋ช…๋ นํ”„๋กฌํ”„ํŠธ) ์ฆ‰์‹œ md ๊ด€๋ฆฌ์ž๊ถŒํ•œ์œผ๋กœ ์‹คํ–‰cd C:\JSP\apache-tomcat-10.1.33\binstartup.bat์„œ๋ฒ„ ์‹คํ–‰  ํ”„๋กœ๊ทธ๋žจ์€ ๋„๋ฉด ์•ˆ๋จ๋ฐฐ์น˜ํŒŒ์ผ ์ผœ๋†”์•ผ ์›น์„œ๋ฒ„๊ฐ€ ๊ณ„์†ํ•ด์„œ ์ž‘๋™ http://localhost:8080/์ฃผ์†Œ์ฐฝ..
์ธ์ ˆ๋ฏธ์˜€๋˜๊ฒƒ
'๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก (7 Page)
์ƒ๋‹จ์œผ๋กœ