我正在使用Springboot和junit,我想使用Powermock来模拟静态类,在添加了IntelliJ之后,单元测试运行良好,但是当我在终端下运行mvn test时,它抛出了ApplicationContextException:无法启动web服务器\n无法启动嵌入式Tomcat@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORTfailed during start
Caused by: ja
当我试图运行我的项目时,它会显示这种错误类型。java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start componentorg.apache.catalina.core.ContainerBase startInternal SEVERE: A child container failed during start java.util.concurrent.ExecutionException</