Spring RESTful(4)
-
Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ๊ฒ์ํ XML.ver (JAXB)
https://hyejin.tistory.com/275 Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ๊ฒ์ํ https://hyejin.tistory.com/272 Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ (@RequestBody, @ResponseBody, GET, POST, PUT, DELETE, Postman ์ค์น ๋ฐ ํ ์คํธ https://hyejin.tistory.com/265 Spring MVC, Mybatis [2].. hyejin.tistory.com ์ฌ๊ธฐ์ ์ค์ตํ๋ ์ฌ์ฉ์ ๊ด๋ฆฌ ๊ฒ์ํ์ ๋ํด์ XML ์๋ต์ ์ฃผ๋ RESTful ์น์๋น์ค ๋ฒ์ ์ผ๋ก ๋ง๋ค์ด๋ณผ๊ฒ์ด๋ค. 1๏ธโฃ JAXB(Java Architecture for XML Binding) JAXB๋ Java ๊ฐ์ฒด๋ฅผ XML๋ก ๋ณํ(์ง๋ ฌํ, M..
2021.12.01 -
Spring ์คํ๋ง java.lang.classnotfoundexception: com.sun.xml.internal.bind.v2.contextfactory ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ
์ฐ์ ์๋ฐ11์์๋ ํธํ์ฑ์ ๋ฌธ์ ๋ก ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ๊ฝค ๋ง์ด ์ญ์ ๋์๋ค๊ณ ํ๋ค. ๊ทธ๋์ JAXB๋ฅผ ์ฌ์ฉํ๋ ค๋๋ฐ classnotfoundexception์๋ฌ๊ฐ ๋๋ฉด์ ์ฌ์ฉํ ์ ์์๋ค..!! ์ด๋ ๊ฒ ์ธ๊ฐ์ dependency๋ฅผ ์ฐธ์กฐํด์ฃผ์๋๋ @XmlRootElement ์ด๋ ธํ ์ด์ ๋ ์ ์๊ธฐ๊ณ , ์๋ฌ ๋ํ ๋ฐ์ํ์ง ์์๋ค. 1๏ธโฃ JAXB API https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api javax.xml.bind jaxb-api 2.3.1 2๏ธโฃ JAXB Core https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-core org.glassfish.jaxb jaxb-core 2.3.0.1 3๏ธโฃ..
2021.12.01 -
Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ๊ฒ์ํ
https://hyejin.tistory.com/272 Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ (@RequestBody, @ResponseBody, GET, POST, PUT, DELETE, Postman ์ค์น ๋ฐ ํ ์คํธ https://hyejin.tistory.com/265 Spring MVC, Mybatis [2] ๊ฐ๋จํ ์ฌ์ฉ์ ๊ฒ์ํ ๋ง๋ค๊ธฐ ๊ทธ๋์ Spring ๊ณต๋ถ๋ฅผ ํ๋ฉด์ ํด์๋ ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ๋ฅผ ์ด์ ๊ฐ๋จํ์ง๋ง ํ๋ฉด ๊ตฌํ๊น์ง ํด์ ๋ง๋ค์ด ๋ณผ ์์ ์ด๋ค. Sp. hyejin.tistory.com ์ฌ๊ธฐ์ ํ๋ ์ฌ์ฉ์ ๊ด๋ฆฌ์ ๋ํด์ RESTful ์น ์๋น์ค ํธ์ถ์ ์ํด Ajax ํต์ ๋ฐฉ๋ฒ์ ์ด์ฉํ ์์ ์ด๋ค. Ajax ํต์ ์ ํ๋ ๋ณต์กํ ์ฝ๋๋ฅผ ๊ฐ๊ฒฐํ๊ฒ ์์ฑํ๊ธฐ ์ํด์ jQuery $.aja..
2021.11.30 -
Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ (@RequestBody, @ResponseBody, GET, POST, PUT, DELETE, Postman ์ค์น ๋ฐ ํ ์คํธ )
https://hyejin.tistory.com/265 Spring MVC, Mybatis [2] ๊ฐ๋จํ ์ฌ์ฉ์ ๊ฒ์ํ ๋ง๋ค๊ธฐ ๊ทธ๋์ Spring ๊ณต๋ถ๋ฅผ ํ๋ฉด์ ํด์๋ ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ๋ฅผ ์ด์ ๊ฐ๋จํ์ง๋ง ํ๋ฉด ๊ตฌํ๊น์ง ํด์ ๋ง๋ค์ด ๋ณผ ์์ ์ด๋ค. Spring MVC Model2 ๋ฅผ ํ์ฉํด์ ํ ์์ ์ด๋ค. 1. Users ํ ์ด๋ธ Users ํ ์ด๋ธ์ userid, hyejin.tistory.com ์ด ๋ ๋ง๋ค์๋ ๊ฐ๋จํ ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ์ ๋ํด์ Spring RESTful ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด๋ณผ ์์ ์ด๋ค. https://hyejin.tistory.com/271 Spring REST, RESTful API, XML, JSON , Jackson ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น 1. Open API(Application Prog..
2021.11.29