IntelliJ에서


The system is out of resource.

...

...

OutOfMemeory  오류 발생시 대처방법.



Perference -> Build,Execution,Deployment -> Compiler -> Build process heap size.  -> 늘려주면 됨.











'IDE' 카테고리의 다른 글

IntelliJ 단축키  (0) 2016.08.18
eclipse.ini 최적화  (0) 2014.01.25
이클립스 단축키 모음  (0) 2014.01.23
Posted by 무세1
,

brew 버전별 설치

맥북 2018. 7. 6. 17:50

Homebrew 설치 후 brew 명령어를 이용해서 software를 설치 할 수 있다.


brew install tomcat


install 명령으로 설치를 하면 최신버전을 설치 한다.


최신버전이 아닌 다른 버전을 설치 하길 원하면 아래 명령어를 이용해서 설치 가능한 버전을 확인하고 설치하면 된다.


> brew search tomcat@

==> Searching local taps...

tomcat ✔        tomcat-native   tomcat@6        tomcat@7        tomcat@8

==> Searching taps on GitHub...

==> Searching blacklisted, migrated and deleted formulae...


> brew install tomcat@7


'맥북' 카테고리의 다른 글

python3 설치  (0) 2019.08.28
watch command 사용하기  (0) 2018.11.15
iterm2 oh-my-zsh 설정하기  (0) 2017.09.28
Outlook Mac에서 패스워드 계속 물어볼때  (0) 2017.09.19
MacOS 10.12 업데이트후 homebrew 설치 문제  (0) 2017.09.07
Posted by 무세1
,

springboot 1.5.10에서 springboot 2.0.0으로 올리면서 한 삽질.


1. SpringBootServletInitializer 패키지 이름이 바뀜

import org.springframework.boot.web.support.SpringBootServletInitializer;

->

import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;



2. WebMvcConfigurerAdapter deprecated

public class CustomWebMvcConfig extends WebMvcConfigurerAdapter

->

public class CustomWebMvcConfig implements WebMvcConfigurer



3. JPA method  findOne -> findById or getOne

ID를 가지고 Domain을 가져오는 method로 findOne을 썻다면 

getOne 또는 findById로 변경.


주의할점 : findById는 return값을 Optional<T>로 리턴. 


'java' 카테고리의 다른 글

Spring Filter 순서 설정.  (0) 2018.01.11
Json 응답시 Null값을 ""으로 자동으로 바꾸기.  (0) 2017.06.21
RestTemplate Urlcoding 삽질기..  (0) 2016.07.08
Spring RestTemplate timeout 설정  (0) 2016.05.30
log4j 설정  (0) 2016.04.06
Posted by 무세1
,