在选择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技术”的教程。见链接:
- - - - - - - - - *
工具 - >服务器 - >添加服务器 - >添加服务器实例 - 选择“Sun Java System Application Server 8.2” - >下一步
错误:“服务器位置不是”Sun Java System Application Server ......“
- - - - - - - -
如何到达NB log file。
SERVER-> 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 :(得分:0)
您看到的错误消息基本上意味着IDE不认为在C:\ Sun \ AppServer中安装了SJSAS 8.2。
如果您在该位置安装了SJSAS 8.2,则IDE中存在错误。
如果您将服务器安装在其他位置,请在文本字段中输入安装目录的路径(或使用浏览按钮)。
如果你还没有在这台机器上安装SJSAS 8.2 ......你需要先这样做。