我在嘗試在NetBeans中構建項目時遇到錯誤。我正在使用JBoss 5.1.0服務器並將其附加到我的項目中。錯誤是 -NetBeans - Java EE服務器類路徑未正確設置 - 服務器主目錄缺少錯誤
The following error occurred while executing this line:
.../myPath/build-impl.xml:176: The Java EE server classpath is not correctly set up - server home directory is missing.
Either open the project in the IDE and assign the server or setup the server classpath manually.
For example like this:
ant -Dj2ee.server.home=<app_server_installation_directory>
我正在使用Mac OS X Lion。
There's一個描述此問題的netbeans錯誤報告,解決方法是http://netbeans.org/bugzilla/show_bug.cgi?id=188751 – fvu
,這對我無效 – Suchi