Seize your moment! ๐Ÿ‘พ

์•ˆ๋…•ํ•˜์„ธ์š”. Eric์ž…๋‹ˆ๋‹ค. ์ œ ๋ธ”๋กœ๊ทธ์— ๋ฐฉ๋ฌธํ•ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ’ป ๊ฐœ๋ฐœ๊ณต๋ถ€/Problem & Solution 4

[Eric's JS] Build error {}.DEBUG = namespaces; ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ( #redocusaurus , #docusaurus )

ํšŒ์‚ฌ์—์„œ Docusaurus ๋กœ ํšŒ์‚ฌ ๋ฌธ์„œ๋ฅผ ๊ด€๋ฆฌํ•œ๋‹ค.์ด๋•Œ ์‚ฌ์šฉ๋˜๋Š” Pakage ์ค‘ ํ•˜๋‚˜๊ฐ€ Redocusaurus ๋ฅผ ์ด์šฉํ•ด์„œ REST API ๋ฌธ์„œ๋ฅผ ๋งŒ๋“ค๊ณ  ์žˆ์—ˆ๋Š”๋ฐ,ํ•˜๋‹จ์˜ ์—๋Ÿฌ๊ฐ€ ๋‚˜๋ฉด์„œ ์ž๊พธ build๊ฐ€ ์•ˆ๋˜์—ˆ๋‹ค.Error[ERROR] Error: Unable to build website for locale en. at tryToBuildLocale (/eric/node_modules/@docusaurus/core/lib/commands/build.js:54:19) at async /eric/node_modules/@docusaurus/core/lib/commands/build.js:65:9 at async mapAsyncSequential (/eric/node_modules/@doc..

[Eric's API] Github Organizations API ๊ฐ€์ ธ์˜ค๊ธฐ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ ๐Ÿ‘จ‍๐Ÿ’ป

์–ผ๋งˆ์ „์˜ ๋‚˜๋Š” Github ์˜ API๋ฅผ ํ†ตํ•ด์„œ ํ•ด๋‹นํ•˜๋Š” Github User์˜ Organizations ๋ฅผ ๊ฐ€์ ธ์˜ค๋ คํ•˜์˜€๋‹ค. ์ด๋•Œ ์—ฌ๋Ÿฌ๊ฐ€์ง€ ๋ฐฉ๋ฒ•์ค‘ ๋‚˜๋Š” 2๊ฐ€์ง€ API๋ฅผ ํ†ตํ•ด์„œ User์˜ List organizations ๋ฅผ ํ•˜์˜€๋‹ค. ์ฒซ๋ฒˆ์งธ๋Š” GET /user/orgs ๋ฅผ ํ†ตํ•ด์„œ ๊ฐ€์ ธ์˜ค๋ ค ํ•˜์˜€๋‹ค. ๋ฌธ์ œ์ ๐Ÿ˜ก ํ•˜์ง€๋งŒ, ๋ถ„๋ช…ํžˆ ๋‚˜๋Š” ํ•˜๋‹จ์˜ ์‚ฌ์ง„์ฒ˜๋Ÿผ 2๊ฐœ์˜ ์กฐ์ง์„ ๊ฐ€์ง€๊ณ ์žˆ์Œ์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ , ํ•˜๋‹จ์˜ ์‚ฌ์ง„์ฒ˜๋Ÿผ Postman์œผ๋กœ header์— ์•Œ๋งž์€ token๊ณผ X-Github-Api-Version์„ ์ž…๋ ฅํ–ˆ์Œ์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ  response๋กœ empty array๊ฐ€ ๋‚˜์™”๋‹ค. ์›ƒ๊ธด๊ฑด status code๊ฐ€ 200 ๋ฒˆ์œผ๋กœ ์ •์ƒ์ด๋ผ๋Š” ๊ฑฐ๋‹ค. ํ•ด๊ฒฐ์ฑ… ๊ทธ๋ž˜์„œ ๋‚˜๋Š” ์ด๋ฒˆ์—๋Š” ๋‹ค๋ฅธ API๋ฅผ ํ†ตํ•ด์„œ User์˜ List organizatio..

[Eric's] intelliJ - lombok gradle ์ธ์‹ ๋ถˆ๊ฐ€ ํ˜„์ƒ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

๐Ÿค– ๊ฐœ๋ฐœํ™˜๊ฒฝ M1 MacBook Pro Language : Java IDE : intelliJ Build Tool : Gradle FrameWork : Spring ๐Ÿ”ฅ ๋ฌธ์ œ์ƒํ™ฉ ๋ถ„๋ช…ํžˆ lombok ์„ค์น˜ ๋ฐ gradle ์— implement ๊นŒ์ง€ ํ–ˆ๋Š”๋ฐ, lombok ์ธ์‹ ๋ถˆ๊ฐ€ํ˜„์ƒ ์œ„์— ์‚ฌ์ง„์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋“ฏ, ๋‚˜๋Š” import ๋„ ํ•ด๋†“์•˜๊ณ , class ์œ„์— Annotation ๋„ ์จ๋†“์•˜๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋‚ด๊ฐ€ ์ž„์˜๋กœ import๋ž‘ Annotaion์„ ์“ด๊ฒƒ์ด์•„๋‹ˆ๋ผ, intelliJ์—์„œ ์ž๋™ ์™„์„ฑ์œผ๋กœ ์ž‘์„ฑ์„ ๋„์›€ ๋ฐ›์€ ๊ฒƒ์ด๋ผ์„œ, ๋‚˜๋Š” ๋ถ„๋ช…ํžˆ ๋‚ด๊ฐ€ ์ž‘์„ฑํ•œ lombok( @Getter) ์ด ์ž‘๋™ ๋ ๊ฒƒ์ด๋ผ๊ณ  ์ƒ๊ฐํ•˜์˜€๋‹ค. ์ด ์ƒํƒœ๋Š” ํ•˜๋‹จ์ฒ˜๋Ÿผ lombok ๊ธฐ๋ณธ ์„ธํŒ…์„ ํ•ด ๋†“์€ ์ƒํƒœ์˜€๋‹ค. 1๏ธโƒฃ gradle ์— lombok d..

[Eric's Java] Oracle cloud ์™€ JDBC Connection ๋ฌธ์ œ

2022.09.02 - ๊ฐœ๋ฐœํ™˜๊ฒฝ M1 MacBook Pro Language : Java Programming , JDBC DataBase : Oracle Clould ADW 19c Tool : intelliJ , Sql_Developer ๐Ÿ”ฅ ๋ฌธ์ œ ์ƒํ™ฉ java ํŒŒ์ผ์—์„œ Oracle Clould ์— ์ €์žฅ๋œ SQL ๋กœ ์ž‘์„ฑ๋œ table ์„ ๊ฐ€์ ธ์˜ค๋ ค๋Š”๋ฐ, ํ•˜๋‹จ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒ The Network Adapter could not establish the connection ์˜๋ฌธ์ ์€ ํ•ด๋‹น Oracle cloud SQL Developer ์—์„œ ๋ฌธ์ œ ์—†์ด ์—ฐ๊ฒฐ๋˜๊ณ  ๊ฐ์ข… ์ฟผ๋ฆฌ๋ฌธ ์ž‘์„ฑ์—๋„ ๋ฌธ์ œ๊ฐ€ ์—†๋Š” ์ƒํ™ฉ ๋‚ด๊ฐ€ java ํŒŒ์ผ์—์„œ Connection ์„ ์ด์šฉํ•œ ๐Ÿงฉ diriverName, url, userName, u..