2010-09-02 50 views
1

在選擇SJSAPS 8.2時在Netbeans 6.9.1上添加服務器時收到錯誤消息。與位置有關。我可以在Netbeans 6.9.1中使用SJSAPS嗎?或者必須使用Glassfish v2附帶的Java EE 5。 6.9.1也有Glassfish v2.x的選擇,但我得到同樣的錯誤。閱讀Sun的「Servlet技術」教程。見鏈接:Netbeans上的Sun Java System App Server 6.9.1

App Server Download

Servlet Tut

- - - - - - - - - *
工具 - >服務器 - >添加服務器 - >添加服務器實例 - 選擇「Sun Java System Application Server 8.2」 - >下一步

錯誤:「服務器位置i不是一個 「Sun Java系統應用服務器......」 alt text

- - - - - - - -
如何才能到NB log file

服務器 - >日誌文件 - 輸出端位置:

WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-ant+xml/Factories/ marked with the position attribute: [org- 
apache-tools-ant-module-loader-AntProjectDataLoader.instance], but some 
are: [org.apache.tools.ant.module.resources.xml-ergonomics.instance] 
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-ant+xml/Factories/ marked with the position attribute: [org- 
apache-tools-ant-module-loader-AntProjectDataLoader.instance], but some 
are: [org.apache.tools.ant.module.resources.xml-ergonomics.instance] 
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-dd-sun-web+xml/Factories/ marked with the position 
attribute: [org-netbeans-modules-j2ee-sun-ddloaders- 
SunDescriptorDataLoader.instance], but some are: 
[org.netbeans.modules.j2ee.sun.share.xml-ergonomics.instance] 
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/text/x-dd-servlet2.5/Factories/ marked with the position attribute: 
[org-netbeans-modules-j2ee-ddloaders-app-EarDataLoader.instance, org- 
netbeans-modules-j2ee-ddloaders-client-ClientDataLoader.instance, org- 
netbeans-modules-j2ee-ddloaders-ejb-EjbJar30DataLoader.instance, org- 
netbeans-modules-j2ee-ddloaders-ejb-EjbJarDataLoader.instance, org-netbeans- 
modules-j2ee-ddloaders-web-DDDataLoader.instance, org-netbeans-modules-j2ee- 
ddloaders-web-DDWeb25DataLoader.instance], but some are: 
[org.netbeans.modules.j2ee.ddloaders.resources.xml-ergonomics.instance] 
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/application/x-class-file/Factories/ marked with the position 
attribute: [org-netbeans-modules-java-ClassDataLoader.instance], but some 
are: [org.netbeans.modules.java.source.resources.xml-ergonomics.instance] 
WARNING [org.openide.filesystems.Ordering]: Not all children in 
Loaders/application/x-java-archive/Factories/ marked with the position 
attribute: [org-netbeans-modules-java-jarloader-JarDataLoader.instance], 
but some are: [org.netbeans.modules.java.j2seplatform.resources.xml- 
ergonomics.instance] 
WARNING [org.openide.text.CloneableEditorSupport]: 
org.netbeans.modules.properties.PropertiesEditorSupport should override 
asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide- 
text/apichanges.html#CloneableEditorSupport.asynchronousOpen 
WARNING [org.openide.text.CloneableEditorSupport]: 
org.netbeans.modules.xml.text.TextEditorSupport should override 
asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide- 
text/apichanges.html#CloneableEditorSupport.asynchronousOpen 
WARNING [org.openide.text.CloneableEditorSupport]: 
org.apache.tools.ant.module.loader.AntProjectDataEditor should override 
asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide- 
text/apichanges.html#CloneableEditorSupport.asynchronousOpen 
+0

請發佈你得到的錯誤。它可能會在NB日誌文件中。 – 2010-09-02 02:13:12

+0

我有權訪問查看菜單下的IDE日誌?這個NB日誌文件在哪裏? – JDragon314159 2010-09-02 14:27:57

+0

NB log file JDragon314159 2010-09-02 14:33:49

回答

0

,你所看到的基本上是錯誤消息意味着IDE並不認爲有SJSAS的8.2 C中的安裝:\太陽\應用服務器。

如果您在該位置安裝了SJSAS 8.2,那麼IDE中存在一個錯誤。

如果您將服務器安裝在其他位置,請在文本字段中輸入安裝目錄的路徑(或使用瀏覽按鈕)。

如果您還沒有在此機器上安裝SJSAS 8.2,您需要先執行此操作。