정보 기술 놀이터

  • 홈
  • 머신러닝
  • 딥러닝
  • 컴퓨터비전
  • 자연어처리

Web & Mobile/Spring 2

[Spring] 스프링 Mybatis 연동

1. pom.xml 설정 mybatis 의존 추가 (mysql 기준) mysql-connector-java는 설치된 mysql과 호환이 되는지 반드시 확인 필요 mysql mysql-connector-java 5.1.6 org.mybatis mybatis 3.4.1 org.mybatis mybatis-spring 1.3.0 org.springframework spring-jdbc ${org.springframework-version} 2. root-context.xml 설정 src/main/webapp/WEB-INF/spring/root-context.xml 빈 등록 url : "jdbc:mysql://도메인:포트/데이터베이스이름?useSSL=false&serverTimezone=UTC" 3. DAO, ..

Web & Mobile/Spring 2020.09.21

[Spring] 이클립스에서 스프링 프로젝트 생성하기

1. STS(Spring Tool Suite) 설치 하기 Eclipse Marketplace에서 sts 설치 2. Spring Legacy Project 프로젝트 생성 3. Spring MVC Project 템플릿 선택 3. 패키지 이름 설정 순서로 작성 (org.example.test) 4. 톰캣 설정 프로젝트 우클릭 → Properties → Add Library → Server Runtime → Apache Tomcat → Apply 5. charset 설정 home.jsp 상단에 추가 6. 실행 프로젝트 우클릭 → Run on Server

Web & Mobile/Spring 2020.09.12
이전
1
다음
더보기
  • 분류 전체보기 (150)
    • Language (11)
      • Java (4)
      • Python (0)
      • C, C++, C# (7)
    • Web & Mobile (30)
      • HTML (3)
      • JavaScript (4)
      • JSP (2)
      • jQuery (4)
      • Spring (2)
      • SpringBoot (4)
      • AWS (7)
      • Android (3)
      • Flask (1)
    • RDBMS (2)
      • MySQL (2)
    • AI (68)
      • Machine Learning (30)
      • Deep Learning (9)
      • Computer Vision (4)
      • Natural Language Processing (0)
      • TensorFlow & PyTorch (18)
      • LLM (3)
      • Projects (1)
      • Kaggle Competitions (1)
      • Paper Review (1)
      • Application (1)
    • Blockchain (7)
      • Bitcoin (7)
    • Coding Test (29)
      • Algorithm (7)
      • Greedy (3)
      • Implementation (1)
      • DFS & BFS (2)
      • Sorting (2)
      • Binary Search (1)
      • Others (12)
      • Dynamic Programming (1)
    • ETC (3)

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바