1.Main class name has not been configured and it could not be resolved from classpath

* What went wrong:
Execution failed for task ':processAot'.
> Error while evaluating property 'applicationMainClass' of task ':processAot'.
   > Failed to calculate the value of task ':processAot' property 'applicationMainClass'.
      > Main class name has not been configured and it could not be resolved from classpath

检查是否存在有jar包的模块用到了springBoot插件,如果有的话,去掉。

    id("org.springframework.boot") version "3.5.6"