전체 글 338

[Spring Boot] 강의 들으면서 쫌쫌따리

Spring Boot Version - GA (General Availability) - RC (Release Candidate) - M (Milestone) - SNAPSHOT (개발 중) Metadata - 내 프로젝트 식별 Group, Artifact, Version Packaging Jar Java Archive , War(WEB-INF 로 패키징 -> 톰캣) Web Application Archive terminal intelliJ실행 projectname idea . build 를 위한 여러가지 방법 1. mvn spring-boot:run 스프링 부트 메이븐 플러그인 사용 2. main 클래스 실행 가장 노멀한 방법 (자바 애플리케이션 실행) IDE 사용 3. JAR 패키징 & java -j..

Web/tip 2023.04.14

[mariaDB Mac] 설치 팁

https://mariadb.com/kb/en/installing-mariadb-on-macos-using-homebrew/ https://brew.sh/index_ko Homebrew The Missing Package Manager for macOS (or Linux). brew.sh 검색 $ brew search 패키지명 설치 $ brew install 패키지명 정보 $ brew info 패키지명 삭제 $ brew uninstall 패키지명 목록 $ brew list 업뎃 $ brew upgrade 패키지명 저장소 추가 $ brew tap homebrew/패키지명 저장소 삭제 $ brew untap homebrew/패키지명 링크 삭제 $ brew unlink 패키지명 mysql 이 설치되어 있는 경..

Web/DB 2023.04.13

[Spring Exception] Hibernate Mapping Exception – Unknown Entity

https://www.baeldung.com/hibernate-mappingexception-unknown-entity Exception 시리즈 마지막 ~! org.hibernate.MappingException: Unknown entity Hibernate와 Spring 및 Hibernate 환경 모두에 대한 알 수 없는 엔티티 문제 및 해결방법이다 Missing or Invalid @Entity Annotation 1. @Entity 주석이 누락된 엔티티 클래스의 경우 public class Foo implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; public Foo() { supe..

Web/spring 2023.04.10

[Spring Exception]Guide to Spring NonTransientDataAccessException

https://www.baeldung.com/nontransientdataaccessexception 막바지로 달려가는 중.. 나중에 포스팅한거 정리 좀 해야겠다ㅜㅜ NonTransientDataAccessException The Base Exception Class 일시적이지 않거나 영구적인 데이터 액세스 관련 예외처리를 나타냄 이 예외가 발생되면 그 이후 해결할 때 까지 모든 시도를 실패하게 됨 Subclasses of this main exception class represent data access related exceptions which are considered non-transient or permanent. Simply put, that means that – until the roo..

Web/spring 2023.04.10

[Spring Exception] Spring NoSuchBeanDefinitionException

https://www.baeldung.com/spring-nosuchbeandefinitionexception + 예외처리 리스트 https://www.baeldung.com/spring-exceptions Spring org.springframework.beans.factory.NoSuchBeanDefinitionException. Spring Context에 정의되지 않은 bean을 해결하려고 시도할 때 BeanFactory 에 의해 발생하는 일반적인 예외들이다 Cause: No Qualifying Bean of Type […] Found for Dependency 단순히 정의되지 않은 빈을 주입하려고 시도하는 경우 예시코드 @Component public class BeanA { @Autowired..

Web/spring 2023.04.09

[Spring Exception] Spring BeanDefinitionStoreException

https://www.baeldung.com/spring-beandefinitionstoreexception Spring org.springframework.beans.factory.BeanDefinitionStoreException 일반적으로 bean 정의가 유효하지 않을 때 BeanFactory 의 책임이며 해당 bean의 로딩에 문제가 있는 경우 Cause: java.io.FileNotFoundException BeanDefinitionStoreException 이 기본 IOException 에 의해 발생할 수 있다. IOException Parsing XML Document From ServletContext Resource DispatcherServlet 이 Spring MVC용 web.xml ..

Web/spring 2023.04.08
728x90