解决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方法,改正后运行正常

 

你可能感兴趣的:(解决SpringBootUnable to start web server错误)