当前位置:   article > 正文

解决SpringBootUnable to start web server错误_unable to start web server; nested exception is ja

unable to start web server; nested exception is java.lang.illegalstateexcept

完整错误信息如下:

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

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/153995
推荐阅读
相关标签
  

闽ICP备14008679号