Skip to content

callor/Callor-SpringMVC-Template-2024

Repository files navigation

Spring Legacy / Spring MVC 2024 Template

  • STS 3 μ—μ„œ Spring Legacy / Spring MVC ν”„λ‘œμ νŠΈλ₯Ό 생성할 수 μžˆλŠ” Template μž…λ‹ˆλ‹€
  • This is a template that can create Spring Legacy / Spring MVC in STS 3.

STS 3 버전을 λ‹€μš΄λ‘œλ“œ λ°›μŠ΅λ‹ˆλ‹€

  • 2024.03.21 λ‹€μš΄λ‘œλ“œ 클릭
  • STS 3 λŠ” μ–Έμ œκΉŒμ§€ 지원될지 μ•Œμˆ˜ μ—†λŠ” μƒν™©μ΄λ―€λ‘œ, νŒŒμΌμ„ μ‚­μ œν•˜μ§€ 말고 λ³΄κ΄€ν•˜λŠ” 것이 μ’‹κ² μŠ΅λ‹ˆλ‹€.

Spring Legacy Template 을 λ‹€μš΄λ‘œλ“œ λ°›μŠ΅λ‹ˆλ‹€

  • com.callor.templates.mvc-5.2.25.zip 파일 λ‹€μš΄λ‘œλ“œ
  • 2024.4.1 버전 λ‹€μš΄λ‘œλ“œ 클릭
  • λ‹€μš΄λ‘œλ“œ 받은 νŒŒμΌμ„ 압좕을 ν’€μ–΄ μ€λ‹ˆλ‹€. μ΄λ•Œ 폴더 이름을 잘 ν™•μΈν•˜μ„Έμš”
  • alt text

STS 3 에 μ μš©ν•˜κ² μŠ΅λ‹ˆλ‹€.

  • STS 3 λ₯Ό μ‹€ν–‰ν•˜μ—¬ ν”„λ‘œμ νŠΈλ₯Ό μž‘μ„±ν•  workspace 폴더λ₯Ό μ„ νƒν•˜κ³  IDE 화면이 λ‚˜νƒ€λ‚ λ•ŒκΉŒμ§€ κΈ°λ‹€λ € μ€λ‹ˆλ‹€.
  • STS 3 λ₯Ό κ·Έλƒ₯ μ’…λ£Œν•˜κ³ , μœˆλ„μš° νƒμƒ‰κΈ°μ—μ„œ workspace 폴더λ₯Ό μ°Ύμ•„ κ°‘λ‹ˆλ‹€.
  • .metadata λΌλŠ” 폴더가 μƒμ„±λ˜μ–΄ μžˆμ„ κ²ƒμž…λ‹ˆλ‹€
  • alt text
  • .metadata 폴더에 .sts/content 폴더λ₯Ό λ§Œλ“€κ³  μ••μΆ•ν•΄μ œν•œ template 폴더λ₯Ό 볡사 λΆ™μ—¬λ„£κΈ° ν•©λ‹ˆλ‹€
  • 그리고 STS 3λ₯Ό λ‹€μ‹œ μ‹€ν–‰ν•©λ‹ˆλ‹€.

Spring Legacy / Spring MVC ν”„λ‘œμ νŠΈ λ§Œλ“€κΈ°

  • STS 3 μ—μ„œ File / New / Spring Legacy λ₯Ό μ°¨λ‘€λ‘œ ν΄λ¦­ν•©λ‹ˆλ‹€

  • λ‹€μŒκ³Ό 같이 보일 κ²ƒμž…λ‹ˆλ‹€. μ—­μ‹œ Spring MVC ν”„λ‘œμ νŠΈλŠ” 보이지 μ•ŠμŠ΅λ‹ˆλ‹€. alt text

  • Template Wizard ν™”λ©΄μ—μ„œ Configure Template... μ΄λΌλŠ” 링크λ₯Ό ν΄λ¦­ν•©λ‹ˆλ‹€.

  • Template Project 화면이 λ‚˜νƒ€λ‚©λ‹ˆλ‹€. alt text

  • 3개의 링크λ₯Ό ν΄λ¦­ν•˜μ—¬ λͺ¨λ‘ Remove ν•©λ‹ˆλ‹€. alt text

  • 그리고 Aplly/Close λ₯Ό 눌러 창을 λ‹«μŠ΅λ‹ˆλ‹€.

  • λ‹€μ‹œν™”λ©΄μœΌλ‘œ λŒμ•„μ™€μ„œ Refresh λ²„νŠΌμ„ ν΄λ¦­ν•©λ‹ˆλ‹€

  • 그러면 Spring MVC 2024 λΌλŠ” Template 이 λ‚˜νƒ€ λ‚©λ‹ˆλ‹€. alt text

  • 이제 Spring MVC ν”„λ‘œμ νŠΈλ₯Ό μ˜ˆμ „μ²˜λŸΌ μ‚¬μš©ν•˜μ‹€μˆ˜ μžˆμŠ΅λ‹ˆλ‹€.

Spring MVC 2024 Template

  • 기쑴의 Template λ₯Ό μ•½κ°„ μˆ˜μ •ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
  • SpringFramework 버전을 5.2.25.RELEASE 으둜 λ³€κ²½
  • Java-version 을 java-11 λ²„μ „μœΌλ‘œ λ³€κ²½
  • logλ₯Ό logback-class 1.5.3으둜 λ³€κ²½
  • Servlet, JSP λ“±μ˜ μƒˆλ‘œμš΄ λ²„μ „μœΌλ‘œ λ³€κ²½
  • web.xml 을 Dynamic 4.0 으둜 λ³€κ²½
  • servlet-context.xml 의 namespace λ₯Ό 일뢀 λ³€κ²½
  • /views/home.jsp 파일 λ³€κ²½

About

Spring Legacy Template

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages