IT이야기/spring boot (2) 썸네일형 리스트형 Spring boot - thymeleaf 맵핑 오류 @GetMapping("/") public String DemoModel(Model model){ model.addAttribute("list", modelRepository.findAllmodel()); log.info("SHOW ALL ModelList {}", modelRepository.findAllmodel()); return "modeldemo"; } 간단한 컨트롤러 코드임에도 제대로 맵핑?이 되지않아서 삽질... 처음엔 어노테이션이 제대로 안되는줄알고 컨트롤러를 확실히 인식하도록 스캔 코드를 추가. 하지만 예나 전이나 콘솔상에서는 컨트롤러까지는 확실하게 와있음. [0;39m Started. [0;39m Tomcat started on port(s): 8080 (http) with cont.. Spring Boot4 - 신규 프로젝터 생성 후 서버 가동 시 자바 버전 에러 Spring Boot4에서 Maven으로 java 11로 구상후 프로젝트를 신규로 만들고 데모를 돌리자 아래와같은 에러가 반겨줬다. Exception in thread "main" java.lang.UnsupportedClassVersionError: org/springframework/boot/SpringApplication has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0 at java.base/java.lang.ClassLoader.defineCla.. 이전 1 다음