SpringBoot 项目出现的问题

Test set: com.example.webqq.WebqqApplicationTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.274 s <<< FAILURE! - in com.example.webqq.WebqqApplicationTests
contextLoads(com.example.webqq.WebqqApplicationTests)  Time elapsed: 0.002 s  <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodValidationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Unexpected exception during bean creation; nested exception is java.lang.TypeNotPresentException: Type javax.websocket.WebSocketContainer not present
Caused by: java.lang.TypeNotPresentException: Type javax.websocket.WebSocketContainer not present
Caused by: java.lang.ClassNotFoundException: javax.websocket.WebSocketContainer

你可能感兴趣的:(SpringBoot 项目出现的问题)