Eclipse中执行Ant脚本出现Could not find the main class的问题及解
生活随笔
收集整理的這篇文章主要介紹了
Eclipse中执行Ant脚本出现Could not find the main class的问题及解
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
試過了:https://blog.csdn.net/bookroader/article/details/2300337
但是不管用,偶然看到這篇沒有直接關(guān)系的
https://blog.csdn.net/jiuyueguang/article/details/9350753
?
聯(lián)想了一下。項目是JDK1.5,Eclipse是JDK1.8啟動,所以在Run as->Ant build之前,先Run as->External Tools Configurations,找到之前報錯的Ant Build,然后按如下圖片,選擇Eclipse的JDK啟動而不是項目的JDK。
?
轉(zhuǎn)載于:https://www.cnblogs.com/wang-ze/p/8978909.html
總結(jié)
以上是生活随笔為你收集整理的Eclipse中执行Ant脚本出现Could not find the main class的问题及解的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: drive es 软件兼容_某知名软件被
- 下一篇: 实力打脸: 量子隐形传输与 “瞬间移动”