" ๋…ธ๋ ฅ์„ ์ด๊ธฐ๋Š” ์žฌ๋Šฅ์€ ์—†๊ณ  "
๋…ธ๋ ฅ์„ ์™ธ๋ฉดํ•˜๋Š” ๊ฒฐ๊ณผ๋„ ์—†๋‹ค
์ด์ฐฝํ˜ธ 9๋‹จ
Junesker
Junesker -
E R R O R/JSP Error
[JSP ERROR] org.apache.jasper.JasperException_Validation error messages from TagLibraryValidator for [c]
JSP ํŽ˜์ด์ง€๋ฅผ ์‹คํ–‰ํ•˜๋˜ ์ค‘, ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€๋‹ค. WebContent๋‹จ ์•„๋ž˜์— ์žˆ๋Š” JSP๋‹ค๋ณด๋‹ˆ, ์‹คํ–‰์„ ์œ„ํ•œ ์ปจํŠธ๋กค๋Ÿฌ๊ฐ€ ์žˆ๋Š”๊ฒƒ๋„ ์•„๋‹ˆ์—ฌ์„œ ์„œ๋ฒ„์ชฝ ๋””๋ฒ„๊น…ํ• ๊ฒƒ์ด ๋”ฐ๋กœ ์—†์—ˆ๋‹ค. ๊ทธ๋ ‡๋‹ค๋ฉด ์ˆœ์ „ํžˆ JSPํŽ˜์ด์ง€์—์„œ์˜ ์—๋Ÿฌ๊ฐ€ ํ™•์‹คํ•œ๋ฐ ์–ด๋”” ๋ถ€๋ถ„์ด ์—๋Ÿฌ์ธ์ง€์— ๋Œ€ํ•œ ํŒŒ์•…์ด ํ•„์š”ํ–ˆ๋‹ค. JSP ํŽ˜์ด์ง€์—์„œ core ํƒœ๊ทธ๋งŒ ์„ ์–ธํ•œ ์ƒํƒœ์—์„œ ์Šคํฌ๋ฆฝํ‹€๋ฆฟ์œผ๋กœ Java ๊ณ„์‚ฐ์‹ ์ฒ˜๋ฆฌ ํ›„ ์•„๋ž˜์—์„œ ํ‘œํ˜„๋ฌธ์œผ๋กœ ๊ฐ’์„ ์ถœ๋ ฅํ•˜๊ณ  ์žˆ๋Š”๋ฐ taglib์ชฝ์—์„œ ์—๋Ÿฌ๋‚  ๋ถ€๋ถ„์€ ๋”ฑํžˆ ์—†์–ด๋ณด์˜€๋‹ค. ์ฒ˜๋ฆฌ๊ฒฐ๊ณผ core ํƒœ๊ทธ ์•ˆ์— HTML ์ฃผ์„์„ ๋‹ฌ์ง€ ๋ง๋ฉด ๋œ๋‹ค. coreํƒœ๊ทธ๋ฅผ ์„ ์–ธํ•˜๊ณ  ๊ทธ ์•ˆ์ชฝ์—๋‹ค๊ฐ€ HTML์ฃผ์„์„ ๋‹ฌ๊ฒŒ๋˜๋ฉด JasperException ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค. ๊ทธ๋ž˜์„œ ์•ˆ์ชฝ์—๋‹ค๊ฐ€ ์ฃผ์„์„ ๋‹ฌ์ง€ ์•Š๊ณ  ๋ฐ”๊นฅ์ชฝ์—์„œ ์ฃผ์„์„ ๋‹ฌ์•„ ์ฃผ์–ด์•ผํ•œ๋‹ค. @Junesker
Junesker
Junesker -
E R R O R/JSP Error
[JSP ERROR] javax.el.ELException: Function [:containsIgnoreCase] not found
JSP ํƒœ๊ทธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋“ค์„ ํ…Œ์ŠคํŠธํ•˜๋˜์ค‘, not found ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๋ถ„๋ช… ์ž‘์„ฑ๋„ ์ž˜ํ•˜๊ณ  ์ด์ƒ ์—†์—ˆ๋Š”๋ฐ ๊ฐ‘์ž๊ธฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋‹ˆ ๋‹นํ™ฉ์Šค๋Ÿฌ์› ๋‹ค. taglib prefix c, fn๋„ ์ œ์ผ ์ƒ๋‹จ์— ์„ ์–ธ๋„ ํ•ด๋†“๊ณ  ์‚ฌ์šฉํ•˜๋Š”๋ฐ ํฐ ๋ฌด๋ฆฌ๊ฐ€ ์—†์—ˆ๋Š”๋ฐ๋„ ๋ถˆ๊ตฌํ•˜๊ณ  ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๋‹ค์‹œ ์ฐจ๊ทผ์ฐจ๊ทผ ๊ผผ๊ผผํ•˜๊ฒŒ ์ฐพ์•„๋ณด๊ณ  ์‚ดํŽด๋ณด์•˜๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋ฐœ๊ฒฌํ–ˆ๋‹ค. ๋‚ด๊ฐ€ elํƒœ๊ทธ์ค‘, containsIgnoreCase๋ฅผ ๋ถˆ๋Ÿฌ์„œ ์‚ฌ์šฉํ•˜๋Š”๋ฐ ์ด๋•Œ, fn์„ ๋น ๋œจ๋ฆฌ๊ณ  ์„ ์–ธํ•˜๋‹ค๋ณด๋‹ˆ ๊ณ„์† ์—๋Ÿฌ๊ฐ€ ๋ฟœ์–ด์ ธ๋‚˜์™”๋‹ค. ์ฒ˜๋ฆฌ๊ฒฐ๊ณผ elํƒœ๊ทธ๋ฅผ ์„ ์–ธํ•  ๋•Œ, ๋‚ด๊ฐ€ ์˜คํƒ€๋ฅผ ๋‚ด์„œ elํƒœ๊ทธ๋ฅผ ์ •ํ™•ํ•˜๊ฒŒ ์„ ์–ธํ•˜์—ฌ ์‚ฌ์šฉํ–ˆ๋Š”์ง€๋ฅผ ์ฒดํฌ elํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์„ ๊ฒฝ์šฐ์—” ์ œ์ผ ๋จผ์ € elํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•œ taglib๋ฅผ ์„ ์–ธํ•ด์ฃผ์—ˆ๋Š”์ง€ ํ™•์ธํ•œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์„ ์–ธ์„ ์ •ํ™•ํ•˜๊ฒŒ ํ–ˆ๋Š”..
Junesker
Junesker -
E R R O R/JSP Error
[JSP Error] The Superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
์ดํด๋ฆฝ์Šค์—์„œ Dynamic Project๋ฅผ ์ƒ์„ฑ ํ›„, JSPํŒŒ์ผ์„ ํ•˜๋‚˜ ๋งŒ๋“ค์—ˆ๋‹ค. ์•„๋ฌด๋Ÿฐ ๋ฌธ์ œ๊ฐ€ ์—†์„๊ฑฐ๋ผ๊ณ  ์ƒ๊ฐํ•˜๊ณ  ์ƒ์„ฑ๋œ JSPํŒŒ์ผ์„ ์—ด์–ด๋ณด์•˜๋Š”๋ฐ ๋งจ ์ƒ๋‹จ ์œ„ 1๋ฒˆ์งธ์ค„๋ถ€ํ„ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. 2์ดˆ ๋‹นํ™ฉํ–ˆ์ง€๋งŒ ์ด๋‚ด ์–ด๋–ค ๋ฌธ์ œ์ธ์ง€ ์•Œ ์ˆ˜ ์žˆ์—ˆ๋‹ค. JSP ํŒŒ์ผ์„ ์ƒ์„ฑํ• ๋•Œ ํ•ด๋‹น JSPํŒŒ์ผ์„ ์–ด๋–ค ์ปจํ…Œ์ด๋„ˆ๋กœ ๊ฐ€๋™ํ• ์ง€์— ๋Œ€ํ•œ Runtime ์„ค์ •๋ถ€๋ฅผ ์„ค์ •ํ•˜์ง€ ์•Š๊ณ  ๋„˜์–ด์˜ค๋Š” ๋ฐ”๋žŒ์— ์„œ๋ธ”๋ฆฟ์„ ์ƒ์œ„ Was์—์„œ ๊ฐ€๋™ํ•  ํ˜•ํƒœ๊ฐ€ ์—†์–ด ๊ฒฝ๋กœ๋ฅผ ๋ชป์ฐพ๋Š” ๋ฌธ์ œ๋‹ค. ์ฒ˜๋ฆฌ๊ฒฐ๊ณผ ํ”„๋กœ์ ํŠธ ์„ค์ •์—์„œ Tomcat์„ ์ถ”๊ฐ€ํ•ด์ค€๋‹ค. (์ด 2๊ฐ€์ง€ ๋ฐฉ์‹ ์ œ์•ˆ) ํ”„๋กœ์ ํŠธ ์„ค์ •์—์„œ Java Build Path๋กœ Apache-Tomcat์ถ”๊ฐ€ํ•˜๊ธฐ 1. [ Project ] > [ Properties ] ๋ฉ”๋‰ด๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค. 2. ์„ค์ • ์™ผ์ชฝ ๋ฉ”๋‰ด์˜ Java Bui..