전체 글474 [Gradle] 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. 에러 메시지 build.gradle 초기 설정 시 dependencies { compile('org.springframework.boot:spring-boot-starter-web') testCompile('org.springframework.boot:spring-boot-starter-test') } 하기와 같이 에러 발생 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. 해결 방법 1. Gradle 버전 확인 c.. 2021. 11. 16. [Spring] 로그: JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message DB 연동 후 하기 로그 뜨는 경우: Spring의 Live Beans Graph 관련 기능 제공하는 부분에 대한 Debug성 메시지 (에러 아님) 17:29:21.649 [localhost-startStop-1] DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain] 17:29:21.649 [localhost-startStop-1] DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found.. 2021. 11. 16. [Eclipse] Tomcat의 Context path (root) 설정 이클립스에서 서버 구동 시 자동 설정되는 경로 수정 방법 [방법1] Eclipse ➡ Servers ➡ Tomcat ➡ server.xml ➡ path 수정 [방법2] Eclipse ➡ Project 우클릭 ➡ Properties ➡ Web Project Settings ➡ Context root 수정 (서버 재실행 ➡ server.xml에 자동 설정됨) [마무리] 이후 Server ➡ Run on Server ➡ 서버 재실행 2021. 11. 8. [JS/jQuery] action, submit HTML Submit JavaScript function fnSubmit() { var form = document.formName; form.submit(); } jQuery function fnSubmit() { $('#formId').attr('action', 'action.do').submit(); } 2021. 11. 3. [JSTL] select option 값 유지 값 이동 순서 View ➡ Controller ➡ View HTML All Spring Summer Fall Winter [방법1] 삼항 연산자 All Spring Summer Fall Winter [방법2] 삼항 연산자 + JSTL 컨트롤러에서 넘어온 객체가 리스트인 경우 All ${list.listName} [방법3] JSTL All ${list.listName} - 출처: https://mi-nya.tistory.com/282 2021. 11. 3. [jQuery] select 이벤트 부여 select 이벤트 부여 방법 $('#selectId').on('click', function() {}); $('#selectId').click(function() {}); $('#selectId').bind('click', function() {}); 동적으로 생성된 select 이벤트 부여 방법 $(document).on('change', '#selectId', function() {}); 출처: https://pamaha.tistory.com/33 2021. 11. 2. 이전 1 ··· 50 51 52 53 다음