SpringBoot—启动报错Exception in thread “main“ java.lang.ClassNotFoundException

问题

  在微服务启动时,日志排查发现无法启动。
在这里插入图片描述

解决方案

  1. 查看是否有xxxApplication类。
  2. 在pom.xml中查看中的内是否未加xxxApplication类。
    在这里插入图片描述
posted @ 2021-12-27 13:40  Andya_net  阅读(159)  评论(0编辑  收藏  举报  来源