Eclipse中,Ant編譯提示:Could not find the main class.Program will exit.

解決方法: 右鍵build.xml --> Run As --> External Tools Configurations 選擇JRE頁面,然後選中Run in the same JRE as the workspace,Apply下,然後Run,應該就可以了
相關文章
相關標籤/搜索