用sts通過maven打包springboot項目

1.點擊windows——>preference——>java——>INSTALLED JREs,查看右邊的內容,如果是jre,就將其改爲jdk。否則打包編譯時會報No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?錯誤 2.右鍵要打包的項目,點擊Run As
相關文章
相關標籤/搜索