idea 打包的jar執行報 “XXX中沒有主清單屬性” 4種方案
阿新 • • 發佈:2021-01-14
技術標籤:# 開發工具總結
idea 打包的jar執行報 “XXX中沒有主清單屬性” 4種方案,本人第四種
一、
二、加入打jar的包
三、配置
四、build.gradle加入
// 子模組/專案的統一配置 subprojects { apply plugin: 'java' apply plugin: 'idea' apply plugin: 'org.springframework.boot' // 指定JDK版本 sourceCompatibility = 1.8 targetCompatibility = 1.8
有用請點贊,養成良好習慣!
疑問、交流、鼓勵請留言!