" ๋…ธ๋ ฅ์„ ์ด๊ธฐ๋Š” ์žฌ๋Šฅ์€ ์—†๊ณ  "
๋…ธ๋ ฅ์„ ์™ธ๋ฉดํ•˜๋Š” ๊ฒฐ๊ณผ๋„ ์—†๋‹ค
์ด์ฐฝํ˜ธ 9๋‹จ
Junesker
Junesker -
DEVELOPMENT/Github
[Github] ์ดํด๋ฆฝ์Šค(Eclipse) ๋‚ด ํ”„๋กœ์ ํŠธ ๊นƒํ—™(Github)์— ๊ณต์œ ํ•˜๊ธฐ & Commit / ํ”„๋กœ์ ํŠธ ๊นƒํ—™(Github)์— ์˜ฌ๋ฆฌ๋Š” ๋ฐฉ๋ฒ•
์ดํด๋ฆฝ์Šค๋กœ ๋‚ด๊ฐ€ ๊ฐœ๋ฐœ์ค‘์ธ ํ”„๋กœ์ ํŠธ๋ฅผ ์ž‘์—…ํ•˜๋‹ค๋ณด๋ฉด ์ผํ•˜๋Š” ํ™˜๊ฒฝ์ด๋‚˜ ๊ณต๋ถ€ํ•˜๋Š” ํ™˜๊ฒฝ ์–ด๋””์„œ๋‚˜ ํ˜„์žฌ ์ž‘์—…ํ•˜๊ณ  ์žˆ๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ๊ณต์œ ํ•˜์—ฌ ์–ด๋””์„œ๋“ ์ง€ ์ž‘์—…์ด ๊ฐ€๋Šฅํ† ๋ก ํ™˜๊ฒฝ์„ ๋งŒ๋“ค๊ณ  ์‹ถ์–ด์งˆ๋•Œ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค.์—ฌ๋Ÿฌ๊ฐ€์ง€ ํ˜•์ƒ๊ด€๋ฆฌ ํˆด์„ ํ†ตํ•ด ๊ฐ€๋Šฅํ•˜๊ฒ ์ง€๋งŒ, ๊นƒํ—™์„ ํ†ตํ•ด ๋‚ด๊ฐ€ ์ž‘์—…์ค‘์ธ ํ”„๋กœ์ ํŠธ๋ฅผ ์—ฐ๋™ํ•˜์—ฌ Commitํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์†Œ๊ฐœํ•˜๊ณ ์ž ํ•œ๋‹ค.     ์ดํด๋ฆฝ์Šค(Eclipse) ๋‚ด ํ”„๋กœ์ ํŠธ ๊นƒํ—™(Github)์— ๊ณต์œ ํ•˜๊ธฐ & Commit / ํ”„๋กœ์ ํŠธ ๊นƒํ—™(Github)์— ์˜ฌ๋ฆฌ๋Š” ๋ฐฉ๋ฒ•     1.  Window > Show View > Other ๋ฉ”๋‰ด๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.      2.  'git'์„ ๊ฒ€์ƒ‰ํ•˜์—ฌ 'Git Repositories'๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.      3.  Git Repositories ์ฐฝ์ด ํ™œ์„ฑํšŒ๋˜๊ณ , 'Create a new..
Junesker
Junesker -
DEVELOPMENT/Eclipse
[Eclipse] ์ดํด๋ฆฝ์Šค(Eclipse)์— SVN(Subversion) ์„ค์น˜ํ•˜๊ธฐ / SVN ์„ค์น˜ํ•˜๊ธฐ
์ดํด๋ฆฝ์Šค(Eclipse)๋กœ ๊ฐœ๋ฐœ์„ ํ•˜๋‹ค๋ณด๋ฉด ์ž์‹ ์ด ์ž‘์—…์ค‘์ธ ํ”„๋กœ์ ํŠธ ๊ฒฐ๊ณผ๋ฌผ์„ ์™ธ๋ถ€ ์„œ๋ฒ„๋กœ ์˜ฌ๋ ค๋†“๊ณ  ์–ด๋””์„œ๋“ ์ง€ ๊ณต์œ ํ•ด์„œ ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. ์ด๋•Œ ์™ธ๋ถ€์„œ๋ฒ„๋กœ ๊ณต์œ ํ•˜๊ณ  ์‚ฌ์šฉํ•  ๋•Œ ์ด์šฉํ•˜๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ SVN(Subversion)์ด๋‹ค.SVN(Subversion)์€ ํ˜•์ƒ๊ด€๋ฆฌ/์†Œ์Šค ๊ด€๋ฆฌ ํˆด ์ค‘์— ํ•˜๋‚˜์˜ ์ข…๋ฅ˜๋กœ์„œ, ๋งŽ์€ ์‚ฌ๋žŒ๋“ค์ด ์ด์šฉํ•˜๋Š” ํ˜•์ƒ๊ด€๋ฆฌ ํˆด์ด๋‹ค.๊ทธ๋ฆฌ๊ณ  ๊ณตํ†ต์˜ ์„œ๋ฒ„์—์„œ ์†Œ์Šค๋ฅผ ์‰ฝ๊ณ  ์œ ์šฉํ•˜๊ฒŒ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค๋Š” ์žฅ์ ์ด์žˆ๋‹ค.     ์ดํด๋ฆฝ์Šค(Eclipse)์— SVN(Subversion) ์„ค์น˜ํ•˜๊ธฐ / SVN ์„ค์น˜ํ•˜๊ธฐ     1.  [Help] > [Eclipse Marketplace..] ๋ฉ”๋‰ด๋ฅผ ์ˆœ์„œ๋Œ€๋กœ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.      2.  Eclipse Marketplace์ฐฝ์—์„œ 'svn'์„ ๊ฒ€์ƒ‰ ํ›„, Subclip..
Junesker
Junesker -
DEVELOPMENT/Eclipse
[Eclipse] ์ดํด๋ฆฝ์Šค(Eclipse) SVN ์—ฐ๋™ ํ›„ ํ”„๋กœ์ ํŠธ ์—…๋กœ๋“œํ•˜๊ธฐ / STS(Spring Tool Suite) SVN ์—ฐ๋™ ํ›„ ํ”„๋กœ์ ํŠธ ์—…๋กœ๋“œํ•˜๊ธฐ / Eclipse SVN Project Commit ํ•˜๋Š” ๋ฐฉ๋ฒ•
์ดํด๋ฆฝ์Šค(Eclipse)๋กœ ๊ฐœ๋ฐœ์„ ํ•˜๋‹ค๋ณด๋ฉด ์ž์‹ ์ด ์ž‘์—…์ค‘์ธ ํ”„๋กœ์ ํŠธ ๊ฒฐ๊ณผ๋ฌผ์„ ์™ธ๋ถ€ ์„œ๋ฒ„๋กœ ์˜ฌ๋ ค๋†“๊ณ  ์–ด๋””์„œ๋“ ์ง€ ๊ณต์œ ํ•ด์„œ ์‚ฌ์šฉํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. ์ด๋•Œ ์™ธ๋ถ€์„œ๋ฒ„๋กœ ๊ณต์œ ํ•˜๊ณ  ์‚ฌ์šฉํ•  ๋•Œ ์ด์šฉํ•˜๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ SVN(Subversion)์ด๋‹ค.SVN(Subversion)์€ ํ˜•์ƒ๊ด€๋ฆฌ/์†Œ์Šค ๊ด€๋ฆฌ ํˆด ์ค‘์— ํ•˜๋‚˜์˜ ์ข…๋ฅ˜๋กœ์„œ, ๋งŽ์€ ์‚ฌ๋žŒ๋“ค์ด ์ด์šฉํ•˜๋Š” ํ˜•์ƒ๊ด€๋ฆฌ ํˆด์ด๋‹ค.๊ทธ๋ฆฌ๊ณ  ๊ณตํ†ต์˜ ์„œ๋ฒ„์—์„œ ์†Œ์Šค๋ฅผ ์‰ฝ๊ณ  ์œ ์šฉํ•˜๊ฒŒ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค๋Š” ์žฅ์ ์ด์žˆ๋‹ค.     ์ดํด๋ฆฝ์Šค(Eclipse) SVN ์—ฐ๋™ ํ›„ ํ”„๋กœ์ ํŠธ ์—…๋กœ๋“œํ•˜๊ธฐ /  STS(Spring Tool Suite) SVN ์—ฐ๋™ ํ›„ ํ”„๋กœ์ ํŠธ ์—…๋กœ๋“œํ•˜๊ธฐ / Eclipse SVN Project Commit ํ•˜๋Š” ๋ฐฉ๋ฒ•     1.  [Window] > [Show View] > [Other....
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/Oracle Error
[Oracle Error] ORA-00904: "BO_NO11": "invalid identifier", ์ž˜๋ชป๋œ ์‹๋ณ„์ž
TEST1 ํ…Œ์ด๋ธ”์˜ ์ œ์•ฝ์กฐ๊ฑด์„ ์ถ”๊ฐ€ํ•˜๋ ค๊ณ  ALTER ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ฐธ์กฐํ‚ค๋ฅผ ์ถ”๊ฐ€ํ•˜์˜€๋‹ค. ๊ทธ๋Ÿฐ๋ฐ ORA-00904 ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๋ถ„๋ช… ์ด์ƒ ์—†์ด ์ž‘์„ฑํ•œ๊ฒƒ ๊ฐ™์•˜๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ์ฟผ๋ฆฌ๋ฌธ์„ ์žฌ์ฐจ ๋‹ค์‹œ ํ™•์ธํ•ด๋ณด์•˜๋‹ค. (....!) ์ž์„ธํžˆ ํ™•์ธํ•ด๋ณด๋‹ˆ ์ฟผ๋ฆฌ๋ฌธ์—์„œ BO_NO11๋กœ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” ์ปฌ๋Ÿผ์ด ์กด์žฌํ•˜์ง€ ์•Š๋Š”๋‹ค... ์ฒ˜๋ฆฌ๊ฒฐ๊ณผ ๊ธฐ์กด์— ์ถ”๊ฐ€๋˜์–ด ์žˆ์ง€ ์•Š๋˜ BO_NO11 ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€ํ•˜๊ณ  ์‹คํ–‰ (์ œ์•ฝ ์‚ฌํ•ญ์„ ์ถ”๊ฐ€ํ•  ์ปฌ๋Ÿผ ๋ˆ„๋ฝ์œผ๋กœ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ) [๋ˆ„๋ฝ๋˜์—ˆ๋˜ ์ปฌ๋Ÿผ์„ ์ถ”๊ฐ€] ALTER TABLE TEST1 ADD (BO_NO11 NUMBER(12)); ์ดํ›„ ์ฟผ๋ฆฌ๋ฅผ ์‹คํ–‰ํ•˜๋‹ˆ ์ •์ƒ์ ์œผ๋กœ ์ปฌ๋Ÿผ ์ถ”๊ฐ€๊ฐ€ ๋˜์—ˆ๋‹ค. @Junesker
Junesker
Junesker -
E R R O R/Oracle Error
[Oracle Error] ORA-00907: "missing right parenthesis", ์˜ค๋ฅธ์ชฝ ๊ด„ํ˜ธ ๋ˆ„๋ฝ
TEST1 ํ…Œ์ด๋ธ”์˜ ์ œ์•ฝ์กฐ๊ฑด์„ ์ถ”๊ฐ€ํ•˜๋ ค๊ณ  ALTER ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ฐธ์กฐํ‚ค๋ฅผ ์ถ”๊ฐ€ํ•˜์˜€๋‹ค. ๊ทธ๋Ÿฐ๋ฐ ORA-00907 ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๋ถ„๋ช… ์ด์ƒ ์—†์ด ์ž‘์„ฑํ•œ๊ฒƒ ๊ฐ™์•˜๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ์ฟผ๋ฆฌ๋ฌธ์„ ์žฌ์ฐจ ๋‹ค์‹œ ํ™•์ธํ•ด๋ณด์•˜๋‹ค. (....!) ์ž์„ธํžˆ ํ™•์ธํ•ด๋ณด๋‹ˆ ์ฟผ๋ฆฌ๋ฌธ์—์„œ ๊ด„ํ˜ธ 1๊ฐœ๋ฅผ ๋น ๋œจ๋ ค์„œ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ์˜€๋‹ค. ์ฒ˜๋ฆฌ๊ฒฐ๊ณผ ์ฝค๋งˆ(,), ๊ด„ํ˜ธ((,)) ๋“ฑ์„ ์ •ํ™•ํ•˜๊ฒŒ ์‚ฌ์šฉํ•˜์ง€ ์•Š์„ ๋•Œ ๋ฐœ์ƒํ•˜๋ฏ€๋กœ, ์ฟผ๋ฆฌ๋ฌธ์„ ์ •ํ™•ํ•˜๊ฒŒ ํ™•์ธ ํ›„์— ์ž‘์„ฑํ•ด์ค€๋‹ค. [๋ฌธ์ œ๊ฐ€ ๋ฌ๋˜ ์ฟผ๋ฆฌ๋ฌธ] ALTER TABLE TEST1 ADD (Constraint fk_test1 Foreign Key(BO_NO11) REFERENCES DRAGDROP(BO_NO) [์ˆ˜์ •๋˜์–ด ์ •์ƒ์ ์ธ ์ฟผ๋ฆฌ๋ฌธ] ALTER TABLE TEST1 ADD (Constraint fk_test..
Junesker
Junesker -
DEVELOPMENT/Eclipse
[Eclipse] ์ดํด๋ฆฝ์Šค workspace ๋ณ€๊ฒฝํ•˜๊ธฐ, ๋‚ด๊ฐ€ ์›ํ•˜๋Š” workspace ์„ ํƒํ•˜๋Š” ๋ฐฉ๋ฒ•
์ดํด๋ฆฝ์Šค๋ฅผ ์‹คํ–‰ํ•˜๋ฉด workspace๋ฅผ ์„ ํƒํ•˜๋Š” ์ฐฝ์ด ๋‚˜์˜จ๋‹ค.(์ดํด๋ฆฝ์Šค workspace๋ฅผ ์„ ํƒํ•˜์ง€ ์•Š๊ฒ ๋‹ค๊ณ  ์ฒดํฌ ํ•ด๋‘๋ฉด ๋”์ด์ƒ ๋œจ์ง€ ์•Š๋Š”๋‹ค.) ์„ ํƒ ํ•˜๋Š” ์ฐฝ์—์„œ ๋‚ด๊ฐ€ ์›ํ•˜๋Š” workspace ๊ฒฝ๋กœ๋ฅผ ์„ ํƒํ•˜๊ณ  ์ดํด๋ฆฝ์Šค๋ฅผ ์‹คํ–‰ํ–ˆ๋Š”๋ฐ ์•Œ๊ณ ๋ณด๋‹ˆ ๋‚ด๊ฐ€ ์ €์žฅํ•ด๋‘” workspace๊ฐ€ ์•„๋‹ˆ๊ณ  ๋‹ค๋ฅธ workspace ๊ณต๊ฐ„์œผ๋กœ ์ด๋™ํ•˜๊ฒŒ ๋˜์—ˆ์„ ๊ฒฝ์šฐ ์กฐ์น˜ ๋ฐฉ๋ฒ•์„ ์†Œ๊ฐœํ•œ๋‹ค. ์ดํด๋ฆฝ์Šค workspace ๋ณ€๊ฒฝํ•˜๊ธฐ, ๋‚ด๊ฐ€ ์›ํ•˜๋Š” workspace ์„ ํƒํ•˜๋Š” ๋ฐฉ๋ฒ• 1. [ File ] > [ Switch Workspace ] > [ Other ] ๋ฉ”๋‰ด๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. 2. [ Browse ] ๋ฉ”๋‰ด๋ฅผ ์„ ํƒํ•˜์—ฌ ๋‚ด๊ฐ€ ์›ํ•˜๋Š” workspace๊ฐ€ ๋“ค์–ด์žˆ๋Š” ๊ฒฝ๋กœ๋ฅผ ์„ ํƒํ•˜๊ณ  OK๋ˆŒ๋Ÿฌ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ๊นŒ์ง€ ํ•˜๋ฉด, ์ดํด๋ฆฝ์Šค๊ฐ€ ๋‚ด๊ฐ€ ์žฌ ์„ค์ •ํ•œ ๊ฒฝ๋กœ..
Junesker
Junesker -
DEVELOPMENT/Eclipse
[Eclipse] Eclipse ๊ฐœ๋ฐœํ™˜๊ฒฝ UTF-8 ์ธ์ฝ”๋”ฉ(Encoding) ์„ค์ •ํ•˜๊ธฐ
์ดํด๋ฆฝ์Šค Tool์„ ์ด์šฉํ•ด ์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ๊ฐœ๋ฐœํ•  ๋•Œ, ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ค์ •์€ ๋นผ๋†“์„์ˆ˜ ์—†๋Š” ์ดˆ๊ธฐ ์„ค์ •์ด๋‹ค. ์„ค์ •์„ ํ•˜์ง€ ์•Š๊ณ  ๊ฐœ๋ฐœ์„ ํ•˜๊ธฐ์—” ์–ด๋ ค์›€์ด ๋งŽ๋‹ค. ์ดํด๋ฆฝ์Šค๋ฅผ ํ†ตํ•ด ์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ๊ฐœ๋ฐœํ•˜๊ธฐ ์ „, ์šฐ๋ฆฌ๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” ํ•œ๊ธ€์ด ๊นจ์ง€์ง€ ์•Š๋„๋ก ์„ค์ •ํ•˜๋Š” ์ดํด๋ฆฝ์Šค ์ธ์ฝ”๋”ฉ ์„ค์ •์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜๊ฒ ๋‹ค. ๊ฐ€์žฅ ๋จผ์ €, ์ดํด๋ฆฝ์Šค์—์„œ ์ธ์ฝ”๋”ฉ ์„ค์ •์„ ํ•˜๊ธฐ ์•ž์„œ ์šฐ๋ฆฌ๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” ํ•œ๊ธ€์— ๋งž๋Š” ์ธ์ฝ”๋”ฉ ์„ค์ •์€ ๋ฌด์—‡์ด ์žˆ๊ณ  ์ƒํ™ฉ์— ๋”ฐ๋ผ ์–ด๋–ค ์ธ์ฝ”๋”ฉ ์„ค์ •์œผ๋กœ ๊ฐœ๋ฐœํ™˜๊ฒฝ์„ ๊ตฌ์ถ•ํ•ด์•ผํ•˜๋Š”์ง€๋„ ์•Œ์•„๋ณด์ž. ์ธ์ฝ”๋”ฉ์ด๋ž€? ์ธ์ฝ”๋”ฉ ๊ฐœ๋…๊ณผ ์ข…๋ฅ˜์— ๋Œ€ํ•ด์„œ ์ž‘์„ฑํ•œ ๊ธ€์ด ์žˆ๋‹ค. ๊ฐ€๋ณ๊ฒŒ ์ฝ์–ด๋ณด๊ณ  ์ธ์ฝ”๋”ฉ์€ ๋ฌด์—‡์ด๊ณ  ์ธ์ฝ”๋”ฉ ์ข…๋ฅ˜์—” ๋ฌด์—‡์ด ์žˆ๊ณ  ํŠน์ง•์ด ๋ฌด์—‡์ธ์ง€ ๊ฐ€๋ณ๊ฒŒ๋ผ๋„ ์•Œ๊ณ  ์•„๋ž˜ ๊ธ€์„ ์ฝ์œผ๋ฉด ์™œ ์ธ์ฝ”๋”ฉ ์„ค์ •์„ UTF-8๋กœ ์„ค์ •ํ•˜๋Š”์ง€ ์ดํ•ดํ•  ์ˆ˜ ์žˆ๋‹ค. https://junesk..
Junesker
Junesker -
E R R O R/Java Error
[Java Error] A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be availavle in order to run Eclipse. No Java Virtual machine was found after searching the following locations.
์ดํด๋ฆฝ์Šค๋ฅผ ์‹คํ–‰ํ• ๋•Œ๋ฉด ๊ฐ€๋” ๋ณผ ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ ์•Œ๋ฆผ์ฐฝ์ด๋‹ค. ๋‚œ ๋ถ„๋ช… JDK๋„ ์„ค์น˜๋„ํ•˜๊ณ  ์„ค์ •๊นŒ์ง€ ๋‹ค ํ–ˆ๋Š”๋ฐ ์ดํด๋ฆฝ์Šค๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ์ €๋Ÿฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. ์ด๋Ÿฐ ์—๋Ÿฌ ์•Œ๋ฆผ์ฐฝ์ด ๋œฐ๋•Œ๋งˆ๋‹ค ์—ฌ๊ฐ„ ๋‹นํ™ฉ์Šค๋Ÿฌ์šธ์ˆ˜๊ฐ€ ์—†์ง€๋งŒ, ํ•ด๋‹น ์—๋Ÿฌ์ฐฝ์€ ํฌ๊ฒŒ ๋ฌธ์ œ๊ฐ€ ๋˜๊ฑฐ๋‚˜ ๋ณต์žกํ•œ ์—๋Ÿฌ๊ฐ€ ์•„๋‹ˆ๊ธฐ๋•Œ๋ฌธ์— ๊ฐ„๋‹จํ•˜๊ฒŒ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋‹ค. ํ•ด๊ฒฐ๋ฐฉ๋ฒ• JDK ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์น˜ ํ™•์ธ ๋˜๋Š” JDK ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์žฌ์„ค์ • ๋˜๋Š” ์„ค์ • ์‹œ ์ ˆ๋Œ€๊ฒฝ๋กœ๋กœ ์„ค์ •ํ•˜๊ธฐ JDK ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์น˜ ํ™•์ธ 1. JDK๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๋˜๊ณ  ์„ค์ •๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด ๋ช…๋ น ํ”„๋กฌํ”„ํŠธ ์ฐฝ์„ ์—ด๊ณ  "java -version"์„ ํ™•์ธํ•œ๋‹ค. ์ž๋ฐ” ๋ฒ„์ „ ๋ช…๋ น์–ด : java -version or javac -version ์œ„์™€ ๊ฐ™์ด java version "1.8.0_271" ์ด๋ผ๊ณ  ์ถœ๋ ฅ๋˜๋ฉด ์ •์ƒ..
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..
Junesker
Junesker -
E R R O R/Java Error
[Java Error] java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
๊ฒŒ์‹œํŒ์— ๊ธ€ ๋“ฑ๋ก์„ ํ•˜๋˜ ์ค‘, ์œ„์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๋‚ด์šฉ์œผ๋กœ ์ž‘์„ฑํ•˜๊ณ  ์žˆ์—ˆ๋˜ ํ…์ŠคํŠธ ๊ธธ์ด๊ฐ€ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ”์˜ ๋‚ด์šฉ ์ปฌ๋Ÿผ์˜ ๊ณต๊ฐ„๋ณด๋‹ค ํ›จ์”ฌ ์ปธ๋‚˜๋ณด๋‹ค. Long์œผ๋กœ ์„ค์ •๋œ ์ปฌ๋Ÿผ์€ Long์— ๋งž์ถฐ ๋‚ด์šฉ์„ ์ž‘์„ฑํ•˜์—ฌ ์ €์žฅํ•ด์•ผํ•˜๋Š”๋ฐ, ๊ทธ๋ ‡์ง€ ๋ชปํ•œ ๊ฒƒ์ด๋‹ค. ๋‚ด์šฉ์— ์ด๋ฏธ์ง€๋ฅผ ํ•œ๊ฐœ ์ฒจ๋ถ€ํ–ˆ๋Š”๋ฐ ํ•ด๋‹น ์ด๋ฏธ์ง€๊ฐ€ base64๋กœ ์ธ์ฝ”๋”ฉ๋˜์–ด ๋“ค์–ด๊ฐ€๋Š” ๋ฐ”๋žŒ์— ์ด๋ฏธ์ง€๊ฐ€ ๋ฐ์ดํ„ฐ๋กœ ๋ณ€ํ™˜๋˜์„œ ๋‚ด์šฉ์— ์ฒจ๋ถ€๋˜์—ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์—„์ฒญ๋‚œ ๊ธธ์ด์˜ ํ…์ŠคํŠธ ๋ฐ์ดํ„ฐ๋กœ ๋‚ด์šฉ์— ์ฒจ๋ถ€๋˜์—ˆ๋‹ค. ์‹ค์ œ htmlํ˜•ํƒœ๋กœ ๋ณด๋ฉด ์ด๋ฏธ์ง€์ง€๋งŒ ์†Œ์Šค์ฝ”๋“œ ๋ณด๊ธฐ๋กœ ํ™•์ธํ•ด๋ณด๋ฉด ์—„์ฒญ๋‚œ ๊ธธ์ด๋ฅผ ๊ฐ€์ง„ ํ…์ŠคํŠธ๋กœ ๋ณด์—ฌ์ง„๋‹ค. ์ฒ˜๋ฆฌ๊ฒฐ๊ณผ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ”์—์„œ ์„ค์ •ํ•œ ์ปฌ๋Ÿผ์˜ ์ตœ๋Œ€ ๊ณต๊ฐ„์•ˆ์—์„œ ๊ธ€์„ ์ž‘์„ฑํ•˜๊ฑฐ๋‚˜, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ”์˜ ํ•ด๋‹น ์ปฌ๋Ÿผ ํฌ๊ธฐ๋ฅผ CLOB์œผ๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ ๋” ๋งŽ์€ ๋ฐ์ดํ„ฐ๋ฅผ ๋‹ด์„ ..