๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT-Engineering/TroubleShooting

์ดํด๋ฆฝ์Šค(Eclipse) dynamic web project์—์„œ 'Run On Server'์—์„œ 'Choose an existing server' ๋น„ํ™œ์„ฑํ™” ๋ฌธ์ œ ํ•ด๊ฒฐ

by ๐Ÿงž‍โ™‚๏ธ 2023. 6. 29.
๋ฐ˜์‘ํ˜•

๊ฐœ๋ฐœ ํ™˜๊ฒฝ:

Tomcat 7.0
Java 1.8

 

๊ฐœ๋ฐœ ์ค‘์— ๊ฒช์€ ๋ฌธ์ œ ํ•ด๊ฒฐ์„ ์ตœ๋Œ€ํ•œ ๋ฉ”๋ชจ๋ฅผ ๋‚จ๊ฒจ๋†“๋Š”๋‹ค. ๋ˆ„๊ตฐ๊ฐ€ 1๋ช…์—๊ฒŒ๋ผ๋„ ๋„์›€์ด ๋œ๋‹ค๋ฉด, ๊ทธ๊ฒƒ์œผ๋กœ ์กฑํ•œ๋‹ค.

๋‚ด ๊ฒฝ์šฐ๋Š” Servlet API ๋ฒ„์ „์ด ๋งž์ง€ ์•Š๋Š” ๋ฌธ์ œ์˜€๋‹ค. ์‚ฌ์‹ค ์ž๋ฐ” ๊ธฐ๋ฐ˜์˜ ๋‹ค์ด๋‚˜๋ฏน ์›น ํ”„๋กœ์ ํŠธ ๊ฐœ๋ฐœ ์ดˆ๋ณด๋‹ค ๋ณด๋‹ˆ, ์„œ๋ธ”๋ฆฟ ๋ฒ„์ „์— ๋Œ€ํ•œ ๊ฐœ๋…์ด ๋ถ€์กฑํ–ˆ๋‹ค. ๋‚ด ๊ฒฝ์šฐ์˜ ๋ฌธ์ œ๋Š” Tomcat7.0 ๋ฒ„์ „์€ ์„œ๋ธ”๋ฆฟ 3.0์„ ์ง€์›ํ•˜๋Š”๋ฐ, 3.1์ด์ƒ์˜ ๋ฒ„์ „์œผ๋กœ ์„ค์ •๋˜์–ด ์žˆ์—ˆ๊ธฐ์— ๋ฐœ์ƒํ•œ ๋ฌธ์ œ์˜€๋‹ค.

 

 ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

์ดํด๋ฆฝ์Šค ํ”„๋กœ์ ํŠธ๋ฅผ ๋”๋ธ”ํด๋ฆญํ•˜๊ฑฐ๋‚˜ ์šฐํด๋ฆญ์˜ Properties๋กœ ๋“ค์–ด๊ฐ€ ์•„๋ž˜์˜ ๋ฉ”๋‰ด๋กœ ์ง„์ž…ํ•œ ํ›„, ์ฆ‰,

project -> Properties -> Project Facets -> Dynamic Web Module

์—์„œ Dynamic Web Module version์„ ์กฐ์ •ํ•˜๋ฉด ํ•ด๊ฒฐ๋˜๋Š” ๋ฌธ์ œ์˜€๋‹ค.

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€