在Netbeans平臺應用程序中,我想關閉所有不需要的模塊,所以我去了Project Properties > Libraries
並關閉了平臺模塊組。之後,出現了一些關於依賴關係的警告,我點擊了在同一窗口中解決了。哪些平臺模塊使應用程序過程獨特?
之後,應用程序構建就好了,但是當我運行它,我得到了一個錯誤:
/Applications/NetBeans/NetBeans 7.1.app/Contents/Resources/NetBeans/harness/suite.xml:498: The following error occurred while executing this line:
/Applications/NetBeans/NetBeans 7.1.app/Contents/Resources/NetBeans/harness/run.xml:193: The application is already running within the test user directory.
You must shut it down before trying to run it again.
我100%肯定沒有其他實例正在運行,所以它可能與IDE本身衝突。
你有什麼想法應該打開什麼模塊來解決這個問題?
對我來說,刪除目錄「build/testuserdir」修復了它。 – kmort 2014-10-16 17:44:51