본문 바로가기
728x90

Spring Boot/error4

The called method's class hierarchy was loaded from the following locations 2022-03-26 18:11:26.326 INFO 17027 --- [ main] c.e.redissample.RedissampleApplication : Starting RedissampleApplication using Java 1.8.0_282 on cheolju.ECM with PID 17027 (/Users/cheolju/IdeaProjects/springbootredis/redissample/target/classes started by cheolju in /Users/cheolju/IdeaProjects/springbootredis/redissample) 2022-03-26 18:11:26.328 INFO 17027 --- [ main] c.e.redissample.RedissampleAp.. 2022. 3. 26.
HttpMediaTypeNotAcceptableException MockHttpServletRequest: HTTP Method = POST Request URI = /users/create Parameters = {} Headers = [Content-Type:"application/json;charset=UTF-8", Accept:"application/xml", Content-Length:"41"] Body = {"username":"sangguk", "password":"1234"} Session Attrs = {} Handler: Type = com.example.springbootwebmvc.user.UserController Method = com.example.springbootwebmvc.user.UserController#create(User) As.. 2022. 2. 27.
java.lang.IllegalStateException: Failed to load ApplicationContext java.lang.IllegalStateException: Failed to load ApplicationContext ... Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springRunner': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'my.age' in value "${my.age}" java.lang.IllegalStateException: Failed to load Appli.. 2022. 2. 5.
org.junit.runners.model.InvalidTestClassError org.junit.runners.model.InvalidTestClassError: Invalid test class 'com.example.studyspringboot.StudyspringbootApplicationTests': 1. No runnable methods at org.junit.runners.ParentRunner.validate(ParentRunner.java:525) at org.junit.runners.ParentRunner.(ParentRunner.java:92) at org.junit.runners.BlockJUnit4ClassRunner.(BlockJUnit4ClassRunner.java:74) at org.springframework.test.context.junit4.Spr.. 2022. 2. 5.
728x90