일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- Thymeleaf
- SpringBoot
- JDBC
- JavaScript
- 오픈소스
- MSSQL
- AJAX
- Python
- 문서
- MySQL
- Docker
- Source
- Eclipse
- Open Source
- IntelliJ
- Spring Boot
- error
- Exception
- PostgreSQL
- git
- maven
- STS
- oracle
- ubuntu
- Tomcat
- myBatis
- Core Java
- 설정
- spring
- jpa
- Today
- Total
목록hermeswing log (709)
헤르메스 LIFE

일반적으로 요즘엔 다국어를 의식해서인지 파일 Encoding을 UTF-8 을 많이 사용합니다. Properties 파일은 ASCII 코드로 글을 저장합니다. Eclipse 에서는 Properties Editor 라는 Plugin 이 있어서 잘 사용했습니다. IntelliJ 에서는 [File] >> [Settings] >> [Editor] >> [File Encodings] >Transparent native-to-ascii conversion 을 체크 아래와 같이 보여집니다.
출처 : dzone.com/articles/spring-vs-spring-boot sas-study.tistory.com/274 * spring-boot-starter-web-services : SOAP 웹 서비스 * spring-boot-starter-web : Web과 RESTful 애플리케이션 * spring-boot-starter-test : Unit testing, Integration Testing * spring-boot-starter-jdbc : 기본적인 JDBC * spring-boot-starter-hateoas : HATEOAS 기능을 서비스에 추가 * spring-boot-starter-security : 스프링 시큐리티를 이용한 인증과 권한 * spring-boot-starter-..
출처 javavoa-mok.tistory.com/58 대용량 엑셀 업로드 소스를 찾던 중 아래의 소스가 가장 좋았습니다. 다만 읽기용으로만 사용해야 합니다. 소스자체가 읽는 예제 밖에 없지만.. 읽는 속도만 빠릅니다. Excel 타입이라든지, 폰트 등의 속성은 무시합니다. ( 전부 String 문자열로 읽히는 듯 합니다. ) import java.io.File; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import org.apache.poi.ooxml.util.SAXHelper; import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.s..
개발환경 Tomcat 오류는 아니지만 Tomcat 기반 개발 시 아래와 같은 메시지가 계속 보여집니니다. (붉은 글씨로..) org.apache.catalina.core.AprLifecycleListener lifecycleEvent 정보: 프로덕션 환경들에서 최적의 성능을 제공하는, APR 기반 Apache Tomcat Native 라이브러리가, 다음 java.library.path에서 발견되지 않습니다: [...................] Tomcat의 server.xml 파일을 수정해주면 사라집니다. Tomcat Native(APR)는 외부에서의 메시지 유입을 연결하는 Listener 라고 합니다. 예를 들면 "Apache 와의 연동 시 사용한다" 정도로 이해하시면 됩니다. Local 개발 시 ..

Stored Procedure에서 종종 테이블 형태의 데이터를 임시로 저장해야 할 필요가 있습니다. MS SQL에서는 이를 위해 총 4가지 방법이 제공되고 있습니다. ( 아래의 표 출처 : points.tistory.com/16 : 정말 정리를 잘해놓으셨습니다. 추가적인 내용이 많으니 반드시 접속 하셔서 공부해보세요~) 비고Local Temporary TableGlobal Temporary TablePermanent TableTable Variable 비고 Local Temporary Table Grobal Temporary Table Permanent Table Table Variable 문법 CREATE TABLE #TableName { Id INT } CREATE TABLE ##TableName {..
테이블 목록테이블 목록 확인 SELECT * FROM INFORMATION_SCHEMA.TABLES ORDER BY TABLE_NAME
public class DateSample { static Logger logger = LoggerFactory.getLogger( DateSample.class ); public static void main( String[] args ) { try { long start = System.currentTimeMillis(); //시작하는 시점 계산 Thread.sleep( 10000 ); long end = System.currentTimeMillis(); //프로그램이 끝나는 시점 계산 logger.info( "실행 시간 : " + ( end - start ) / 1000.0 + "초" ); //실행 시간 계산 및 출력 } catch ( InterruptedException ie ) { logger...
getDateTimeFormat( "yyyyMMddHHmmssfff" ) 를 사용해서 함수롤 Call 했더니 아래와 같은 오류가 발생했습니다. Exception in thread "main" java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: HourOfDay at java.time.LocalDate.get0(LocalDate.java:680)at java.time.LocalDate.getLong(LocalDate.java:659) at java.time.format.DateTimePrintContext.getValue(DateTimePrintContext.java:298) at java.time.format.DateTimeFo..

1. Atom Material Icons - https://plugins.jetbrains.com/plugin/10044-atom-material-icons/ 2. lombok ( 이젠 default 설치됨 ) plugins.jetbrains.com/plugin/6317-lombok 2. .ignore - Git 사용 시 Ignore 폴더 / 파일을 설정할 수 있음. plugins.jetbrains.com/plugin/7495--ignore 3. Git ToolBox - 요즘엔 Git ToolBox ( https://plugins.jetbrains.com/plugin/7499-gittoolbox ) - IntelliJ 2020.x 버전에는 기본 번들로 설치되어 있습니다. 4. JPA Buddy - JPA..

JDK 1.8.x IntelliJ IDEA 2020.3 1. New Project 2. Maven 선택 3. 프로젝트 경로 설정 4. Maven 설정파일 기본 ( pom.xml ) 5. Maven 설정파일 수정 - 2.2.4.RELEASE 빨강색 오류남. ( pom.xml >> maven >> Reload Project 하면 사라짐. ) 4.0.0 com.rest SimpleRestAPI 1.0-SNAPSHOT 8 8 org.springframework.boot spring-boot-starter-parent 2.2.4.RELEASE org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-se..