2012-02-11 46 views
1

在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本身衝突。

你有什麼想法應該打開什麼模塊來解決這個問題?

+0

對我來說,刪除目錄「build/testuserdir」修復了它。 – kmort 2014-10-16 17:44:51

回答

1

好的,我終於找到了什麼模塊搞亂了所有的東西。

這是的NetBeans OSGi的集成平臺集羣的NetBeans集成春分模塊。它們都相互依賴,並且依賴於OSGi規範模塊的模塊。當他們被添加回應用按預期運行。

+0

請確保將此答案標記爲已接受,以便其他人知道有解決方案。 – 2012-02-14 19:48:40