일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- bootstrap
- 방법론
- Lambda
- #Gradle Multi project with IntelliJ
- WebJar
- Spring Boot
- #Microservice
- 2010
- #단축키
- #화면캡쳐 #macOS
- Microservices
- 프로젝트 시작
- java
- 년말
- 토익
- #정규표현식
- 분석 작업
- docker #docker tutorial
- 평가인증
- 감사
- jv
- Today
- Total
목록분류 전체보기 (72)
사랑해 마니마니
1. Bootstrap, JQuery Webjar 찾기IntelliJ를 업데이트 했더니 갑자기 SDK 세팅값이 사라져 버렸다. T.T https://www.webjars.org/에서 Bootstrap, jquery webjar찾기 (gradle 용으로)compile 'org.webjars:jquery:3.2.1'compile 'org.webjars:bootstrap:4.0.0-beta.3' 2. Bootstrap starter template에서 소스 copy하기https://getbootstrap.com/docs/4.0/getting-started/introduction/ popper.js는 Popular WebJars없으니 찾아보자[Add a WebJar] 옆의 search에서 검색하기 1.3.0 v..
스트림 사용해 보기 List strList = Arrays.asList("a", "b", "c"); long count = strList.stream() .count(); filter 사용해 보기 1. filter 자체는 lazy 방식으로 동작함 그래서 꼭 eager 함수와 함께 안쓰면 runtime에서 실행되지 않음. strList.stream() .filter(s -> System.out.println(s)); // lazy 수행 방식으로 동작하지 않음 strList.stream() .filter(s -> System.out.println(s)) .count(); // count와 같은 eager 함수가 따라 붙어야 동작함. 2. 그런데 위 코드는 ide에서 실행해 보면 동작하지 않음 왜냐하면 fil..
Iterable pois = poiRepository.findAll(); for(Poi poi : pois) { System.out.println(poi); } pois.forEach(System.out::println);
IntelliJ에서 lombok을 사용해 보자 Step 1. lombok plugin 설정 (Windows)에서 File > Setting > Plugins Browse repositorie에서 lombok으로 검색 Lombok Plugin (TOOLS INTEGRATION) Install IntelliJ Restart (MacOS)에서 IntelliJ IDEA > Preferences > Plugins "lombok" or "Lombok"으로 검색 Lombok Plugin Install IntelliJ Restart Step 2. Lombok을 Coding 중에도 동작하게 하려면 Enable Annotation Processing 셋팅하기 Settings, (MacOS인 경우 Preferences) >..
1. build.gradle 만들기 구글링 해서 찾은 build.gradle을 이용하면 import error가 자꾸 난다..M5버전을 더이상 제공하지 않는데 자꾸 M5를 다운로드 받으려고 하니.. (pom 파일이 없다고 하거나.. 등등등) build.gradle 만들기 가장 좋은 방법은 spring initializr(http://start.spring.io/)에서 직접 build.gradle을 만드는 방법 ext { springBootVersion = '2.0.0.M7' }어먼 2.0.0.M5으로 세팅했다가.. 계속 에러남
mysql>drop schema database_name; mysql>create database database_name; mysql>create user user_name identified by 'password'; mysql>grant all privileges on database_name.* to user_name@localhost identified by 'password';
스프링이 기본적으로 로깅할 때 JCL을 사용함 그래서 logback을 사용하려면 JCL을 빼줘야 함 Gradle 설정 . 로그 전략을 slf4j를 쓰기 위해 브리지인 jcl-over-slf4j를 설정 그리고 로그 포멧을 정의하기 위해 src/main/resoirces/logback.xml 만들어 넣어주기 Gradle
group 'io.idstay' version '1.0-SNAPSHOT' apply plugin: 'java' apply plugin: 'idea' sourceCompatibility = 1.8 repositories { mavenCentral() } dependencies { compile 'org.springframework:spring-orm:4.2.5.RELEASE' compile 'org.springframework:spring-context:4.2.5.RELEASE' compile 'org.springframework.data:spring-data-jpa:1.10.1.RELEASE' compile 'org.hibernate:hibernate-entitymanager:4.2.7.Final' co..