본문 바로가기

프로그래밍언어/JAVA SPRING

(3)
SpringBoot build.gradle 설정 에러 Could not find method compile() '스프링 부트와 AWS로 혼자 구현하는 웹서비스 ' 를 따라하는 도중 에러가 발생 Build file 'D:\Intelij\intellij-webservice\build.gradle' line: 35 A problem occurred evaluating root project 'intellij-webservice'. > Could not find method compile() for arguments [org.springframework.boot:spring-boot-starter-web] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. -- 책에 나와있는 소스 buildscript ..
윈도우 톰켓(tomcat) 설치 및 이클립스 연동 방법 * 버전확인 http://tomcat.apache.org/whichversion.html *톰캣 다운로드 및 설치 1. 완쪽 Download 에서 Tomcat 9 선택 2. 9.0.x Core 32-bit/64bit Windows Service Installer(pgp, sha512) 클릭 3. apache-tomcat-9.0.x.exe 실행 -> Next -> I Agree -> Next -> Configuration Server Shubtdown Port : 8005 HTTP/1.1 Connector Port : 포트번호 User Name : 어드민아이디 Password : 비밀번호 -> Next -> Java Virtual Machine C:\Program Files\Java\jdk-11.0.14 ..
JAVA SPRING 환경 구축 설치 하자마자 에러( import org.springframework cannot be resolved ) 구글링을 해보니 gradle이 안 가져와져서 뜨는 문제이고 해당 프로젝트 우클릭후 configure -> add gradle nature 실행 또는 maven일 경우 - C:\Users\사용자이름\.m2 파일 제거 프로젝트 우클릭 - Maven - update project 만약 Maven이라는게 안나올 경우 프로젝트 우클릭 - Configure - Convert to maven prjject를 눌러서 다시확인 재빌드 후 확인