with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot(EmbeddedWebApplicationContext.java:122)at org.springframework.boot</
under 'server' to org.springframework.boot.autoconfigure.web.ServerPropertiesspring: add-mappings: false throw-exception-if-no-handler-found- org.springframework.boot.autoconfigure.validation.ValidationAutoC
因此,我有三个类(User、Stream、UserActivity),我试图使用@embedded方法从两个类(User、Stream)的外键为UserActivity创建一个组合键,但在项目启动时得到了不相关的异常(SpringApplication.java:758) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java
我目前是springboot的新手,我在解决这个错误时遇到了麻烦,如果有人能帮助我,我会很高兴的。(SpringApplication.java:693) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.6.