解决SpringBootUnable to start web server错误

完整错误信息如下:

 - Exception encountered during context initialization - cancelling refresh attempt:

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is

org.springframework.beans.factory.BeanCreationException: Error creating bean with name

'org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat': Initialization of

bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut log

经检查发现,是因为切面类中没有log方法,改正后运行正常

猜你喜欢

转载自blog.csdn.net/qq_40715775/article/details/82751414