본문 바로가기
반응형

java27

spring boot cannot find main class STS에서 boot dashboard를 이용하여 어플리케이션을 실행했는데 아래와 같은 메시지가 출력되면서 실행이 안됨 기본 클래스 xxx.yyyy.bbb.Application 찾거나 로드할 수 없습니다. 작업한건 gradle 에서 라이브러리 몇개 추가한거 밖에 없는데 불과 1분전에 구동된 서버가 구동이 안됨 이리 저리 삽질을 하다가 6시간 뻘짓을 하다가 구글링으로 찾아냄 https://stackoverflow.com/questions/28451120/spring-boot-program-cannot-find-main-class/52005196#answer-60035629 Spring Boot Program cannot find main class I have a program which runs as a .. 2020. 3. 18.
spring boot lazy-loading 사용시 에러 spring boot를 사용하여 새로운 프로젝트를 구성하고 있다. @OneToMany(mappedBy = "configs" , fetch=FetchType.LAZY) private List categories; LAZY Fetch 전략을 사용해서 categories 들을 읽어오는 로직을 사용했는데 아래와 같이 에러가 발생했다. failed to lazily initialize a collection of role .... could not initialize proxy - no Session application.yml에 아래와 같은 설정을 추가했지만 동일한 에러 발생 spring.jpa.open-in-view: true spring.jpa.properties.hibernate.enable_lazy_lo.. 2020. 1. 30.
springboot 핸들바 auto configuration handlebars github https://jknack.github.io/handlebars.java/ https://github.com/jknack/handlebars.java handlebars spring boot auto-configuration https://github.com/allegro/handlebars-spring-boot-starter build.grade dependencies{ implementation group: 'pl.allegro.tech.boot', name: 'handlebars-spring-boot-starter', version: '0.3.1' } application.yml handlebars.suffix: .hbs handlebars.cache: false h.. 2019. 10. 8.
openjdk 설치 리눅스 버전 https://github.com/ojdkbuild/contrib_jdk8u-ci wget https://github.com/ojdkbuild/contrib_jdk8u-ci/releases/download/jdk8u191-b12/jdk-8u191-ojdkbuild-linux-x64.zip 윈도우 버전https://github.com/ojdkbuild/ojdkbuild 2018. 12. 10.
반응형