com.jy.helpring.domain.post.PostRepository.findByCategory_NameAndByMember_Id
(java.lang.String,java.lang.Long,org.springframework.data.domain.Pageable)!
No property 'byMember' found for type 'Post'!; nested exception is java.lang.IllegalArgumentException:
Failed to create query for method public abstract org.springframework.data.domain.Page
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'fileStore': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException:
Could not resolve placeholder 'file.dir' in value "${file.dir}"
file: dir = "경로" -> file: dir : 경로
file:
dir: C:\intellij\workspace\helpring\helpring\src\main\resources\static\post_upload\
Parameter 0 of constructor in com.jy.helpring.service.mail.MailServiceImpl required a bean of type 'org.springframework.mail.javamail.JavaMailSender' that could not be found.
Consider defining a bean of type 'org.springframework.mail.javamail.JavaMailSender' in your configuration.
ConfigServletWebServerApplicationContext : Exception encountered during context initialization
- cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource
[org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]:
Invocation of init method failed; nested exception is java.lang.IllegalStateException:
Invalid mapping on handler class [com.jy.helpring.web.controller.lecture.MemberWishLectureRestController]:
public org.springframework.http.ResponseEntity com.jy.helpring.web.controller.lecture.MemberWishLectureRestController.delete(java.lang.Long)
닫는 괄호를 쓰지 않은 오타로 에러가 떴다...
@DeleteMapping("/{wish_id") -> @DeleteMapping("/{wish_id}")