JAVA

    [스터디할래? Java 06]상속

    [스터디할래? Java] 목차 이글은 백기선님 스터디 할래? 스터디를 뒤늦게 따라간 기록입니다. 스터디할래 링크 >> https://github.com/whiteship/live-study 이필기를 시작으로 공부했습니다 >> https://leemoono.tistory.com/20 여기 없는내용은 스터디 할래 강의 내용 혹은 제가 java Doc보고작성하거나 예제를 만들어 추가했습니다. 그외는 같이 출처가 써있습니다. 자바상속 특징 다중상속 금지 : extends A, B X 최상위 클래스 Object 디스패치 프로그램이 어떤 메소드를 호출할 것인가를 결정하여 그것을 실행하는 과정. - 동적 디스패치 - 정적 디스패치 Static Dispatch 정적 디스패치 어떤 메소드 실행될지 컴파일시점에서 알수 있..

    [1028 Spring boot] 에러모음

    Error 1 현상 @Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable();} 등록시 경로지정을 안해줬다는 에러발생. 찾은것 stackoverflow.com/questions/64822250/illegalstateexception-after-upgrading-web-app-to-spring-boot-2-4 결론 원인은 스프링에서도 component-scan 을 재지정해줌 스프링 부트 그대로 사용하기위해 xml 빈을 안만드려고 다른방법 찾아다니다. 하기 방법발견. @Bean WebServerFactoryCustomizer enableDefaultSe..

    [1028web.com] Spring boot 2 Validation Example

    GIT : github.com/miseongshin/diary/tree/forValidationInBlog INDEX 1. @Valitated CustomerController.java 2. Custom Validate Annotation CustomerSignUpData.java SameValue.java SameValueValidator.java 3. Validation Annotation, BindingResult CustomerController.java CustomerSignUpData.java DiaryValidErrorException.java DiaryExceptionHandlers.java ValidErrorData.java ValidErrorResultData.java 4. Sequen..

    [1028 JPA]에러모음

    error 1. 문제 Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 검색 에러 발생 시 Eclipse Run Configurations에서 Arguments에 --debug 추가 출처 kamsi76.tistory.com/entry/%EC%8B%9C%EC%9E%91 해결 application.properties 에 설정추가. logging.level.org.springframework= debug logging.level.org.springframework.web= debug error 2. 문제 defined in class path resource..

    반응형