Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- 자바
- 정처기필기
- 라우터
- 오라클
- 원형그래프
- autoset
- 참조타입
- VLAN
- Cisco
- 리눅스
- 이것이 자바다
- 네트워크관리사
- ospf
- cisco packet
- 네트워크
- html
- 버추얼머신
- 데이터베이스
- sql
- NCS
- jsp
- w3school
- php
- ciscopacket
- 정보처리기사
- jsp연결
- Java
- rinux
- Oracle
- javaee
Archives
- Today
- Total
기록해! 정리해!
비즈니스 컴포넌트 실습 I (복습) - VO 만들기 본문
[ lombok 추가 ]
<dependencies>
<!-- lombok 추가 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
</dependency>
<!-- Spring -->
[ BoardVo ]
package com.springbook.biz.board;
import java.sql.Date;
import lombok.Data;
@Data
public class BoardVo {
private int seq;
private String title;
private String writer;
private String content;
private Date regDate;
private int cnt;
}
[ pom.xml ]
<properties>
<java-version>1.11</java-version>
<org.springframework-version>5.3.9</org.springframework-version>
<org.aspectj-version>1.6.10</org.aspectj-version>
<org.slf4j-version>1.6.6</org.slf4j-version>
</properties>
<dependencies>
<!-- lombok 추가 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
</dependency>
<!-- Spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework-version}</version>
<exclusions>
<!-- Exclude Commons Logging in favor of SLF4j -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${org.springframework-version}</version>
</dependency>
<!-- AspectJ -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${org.aspectj-version}</version>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${org.slf4j-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${org.slf4j-version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${org.slf4j-version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.12.1</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
<scope>runtime</scope>
</dependency>
<!-- @Inject -->
'Spring' 카테고리의 다른 글
비즈니스 컴포넌트 실습 I (복습) - Board (1) | 2022.09.21 |
---|---|
비즈니스 컴포넌트 실습 I (복습) - 데이터베이스 드라이버 , JDBCUtil, applicationContext.xml (1) | 2022.09.21 |
비즈니스 컴포넌트 실습 I (복습) - pom.xml / 테이블 (1) | 2022.09.21 |
카카오 API 지도 - 마크와텍스트 / 선으로 거리계산 / 여러개의마커제어 (0) | 2022.09.20 |
오라클 드라이버 사용하기 (0) | 2022.09.20 |
Comments