반응형

Spring 3

[STS] The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories:

■ 테스트를 위해서 환경 구축을 위해 sts 를 실행했는데 에러가 발생하였다. 해당 내용 에러는 환경변수 설정을 통해 해결이 가능했다.   The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories:  1. 고급 시스템 설정2. 환경변수 3. 환경변수 설정  4. 재시작

Spring 2024.08.23

[Spring Boot] VSCode JSP 페이지 호출하기 && lib 추가

■ Spring Boot 로 설정해서 확인해야 할 사항이 있었다. JSP 페이지를 호출해야 하는데 인터넷에 있는 여러 방법을 쓰다가 나에게 맞는 방법이 아니어서 기억하기 위해서 작성한다. 나는 JSP 페이지를 직접 호출해도 상관없었으며 간단한 기능테스트만 필요했다. 그 정도는 간단한 설정만으로도 확인할 수 있다.프로젝트 생성1) 단축키 : Ctrl + Shift + p검색어 : spring initializr   2) Version 3) Language 4) Group Id 5) Artifact Id 6) 목적에 따라 선택하면 된다. 7) Spring Boot 3 버전을 선택했기 때문에 자바 버전이 높다. 8) 9) src/main/resources/static 경로에 index.html 생성  단축키 ..

Spring 2024.05.22

[Spring] Spring 과 SpringBoot

Spring ■ 스프링 프레임워크(Spring Framework)는 자바에서 가장 많이 사용되는 프레임워크이다. 1) 중요 요소 (1) 의존성 주입(DI, Dependency Injection) - Spring Framework 에 의존성을 주입하면서 객체 간 결합을 느슨하게 한다. - 코드의 재사용성이 증가하고 단위 테스트가 용이하다. (2) 제어역전(IOC, Inversion of Control) - Servlet이나 Bean 의 설정을 프레임워크가 대신 수행한다. (3) 관점 지향 프로그래밍(AOP) 2) 대표적인 모듈 - Spring JDBC - Spring MVC - Spring AOP - Spring ORM(Object-Relational Mapper) - Spring Test - Spring..

Spring 2023.02.08
반응형