Spring Boot 项目执行 maven 打包 package 时,抛出“Unable to find a single main class from the following candidates [com.hxstrive.ehcache.HelloEhcache, com.hxstrive.ehcache.HelloEhcache2]”异常
本文将介绍如何解决“Unable to find a single main class from the following candidates [com.hxstrive.ehcache.HelloEhcache, com.hxstrive.ehcache.HelloEhcache2]”异常。