Unable to find main class
程序员文章站
2022-06-05 14:20:05
...
# 解决
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
# 注意: 以下内容才是你需要添加的部分
<configuration>
<mainClass>com.xx.webapps.api.main.WebappsApiBidMain</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
推荐阅读
-
python安装PIL模块时Unable to find vcvarsall.bat错误的解决方法
-
python安装PIL模块时Unable to find vcvarsall.bat错误的解决方法
-
AndroidStudio构建项目提示错误信息“unable to find valid certification”的完美解决方案
-
Android studio无法创建类和接口问题解决办法。提示 Unable to parse template "Class"
-
Jib构建镜像的问题分析(Could not find or load main class ${start-class})
-
Google App Engine (Java + String + Velocity)数据访问调试,出现错误 Cannot find class [javax
-
windows下安装python的C扩展编译环境(解决Unable to find vcvarsall.bat)
-
cps3模拟器加载提示unable to find appropiate zbuffer format
-
Android <java.lang.ClassNotFoundException:Didn‘t find class ‘XXX‘ on path:DexPathList> 解决
-
Cannot find class ‘org.apache.hudi.hadoop.HoodieParquetInputFormat‘