JAVA/spring

[1028web 이클립스, sts]

1.  spring boot > sts4 

2. spring framework > sts3

 

 

https://mainia.tistory.com/1219  > sql 에디터 열기

파일 우클릭 > openwith > sql text file > User it for all *.sql files  

용량이 커서 안된다

 

https://stackoverflow.com/questions/24200443/how-to-open-a-huge-sql-file

 

 

문제 : java.lang.OutOfMemoryError: Java heap space

이클립스 > 서버 환경설정 > arguments > vm argumets 에 "-XX:MaxPermSize=1028m -Xms1028m -Xmx1028m" 추가. 

출처: https://zenomis.tistory.com/entry/이클립스에서-Tomcat-Heap-Size-설정 [꿈꾸는 별나라:티스토리]

 

이클립스 + spring 추가설치  1.  관리자권한!!

이클립스 마켓플레이스 spring 설치시 에러 


help> install new software

https://download.eclipse.org/mylyn/releases/latest/  설치하면 해결. 
Cannot complete the install because one or more required items could not be found.
  Software being installed: Spring IDE Spring Data Support 3.9.15.202012132325-RELEASE (org.springframework.ide.eclipse.data.feature.feature.group 3.9.15.202012132325-RELEASE)
  Missing requirement: Spring IDE Configuration Graphical Editing 3.9.15.202012132325-RELEASE (org.springframework.ide.eclipse.config.graph 3.9.15.202012132325-RELEASE) requires 'osgi.bundle; org.eclipse.mylyn.commons.ui [3.7.0,4.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Spring IDE Spring Data Support 3.9.15.202012132325-RELEASE (org.springframework.ide.eclipse.data.feature.feature.group 3.9.15.202012132325-RELEASE)
    To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.feature.feature.group 0.0.0
  Cannot satisfy dependency:
    From: Spring IDE Core (required) 3.9.15.202012132325-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.15.202012132325-RELEASE)
    To: org.eclipse.equinox.p2.iu; org.springframework.ide.eclipse.config.graph [3.9.15.202012132325-RELEASE,3.9.15.202012132325-RELEASE]

출처 : [이클립스]이클립스에서 spring 설치 안 될때 해결 (tistory.com)
2.  관리자권한  
Problems occurred while performing provisioning operation: operation plan must be resolved operation plan must be resolved
   

 

STS4  설치 압축풀기 
1. jar xvf E:\miseong\spring-tool-suite-4-4.20.0.RELEASE-e4.29.0-win32.win32.x86_64.self-extracting.jar
or 압축프로그램으로 플기 
2. contents.zip  < - 압축풀기. 
STS4 는 스프링부트를 기본으로 설정됨.
spring framework 사용시 Marketplace에서  



error  Help > Eclipse marketplace searching error

MarketplaceDiscoveryStrategy failed with an error
Cannot complete request to https://marketplace.eclipse.org/api/p/search/apachesolr_search/spring?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.29: status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)


MarketplaceDiscoveryStrategy failed with an error
Cannot complete request to https://marketplace.eclipse.org/api/p/search/apachesolr_search/spring?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.21: status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)
status code: 500, reason phrase: 500 Service unavailable (with message)

1. https://marketplace.eclipse.org 접속 << 문제없음.  이클립스가 가끔.. 안될때도있다고함.;;
2. Help > check for update 실행 시도 <<진행
3. help > eclipse marketplace > installed tab > Eclipse Marketplace Client 삭제 재설치 (delete and instal)
4. window > Preference > general > Network Connection > Active Provider : Native ->  Direct  
    - Native 플록시 사용시 사용(proxy).