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