在Netbeans 6.9.1上添加服务器时,当选择SJSAPS8.2时,我会收到一个错误。和地点有关。我可以在Netbeans 6.9.1中使用SJSAPS吗?或者必须使用Java 5,这是与Glassfish v2一起提供的。6.9.1也可以选择Glassfish v2.x,但我也得到了相同的错误。阅读Sun关于"Servlet技术“的教程。见链接:
App服务器下载
Servlet Tut
-*
工具->Servers->Add>Add实例-选择“SunJavaSystemApplicationServer8.2”->Next
错误:“服务器位置不是"Sun Java System Application Server .”

如何到达NB日志文件。
服务器->日志文件-输出结束在这里:
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发布于 2010-09-02 17:58:02
您所看到的错误消息基本上意味着IDE认为C:\Sun\AppServer中没有安装SJSAS 8.2。
如果您在该位置安装了SJSAS 8.2,那么IDE中就有一个bug。
如果将服务器安装在不同的位置,请在文本字段中输入安装目录的路径(或使用浏览按钮)。
如果你还没有在这台机器上安装SJSAS 8.2 .你得先这么做。
https://stackoverflow.com/questions/3623024
复制相似问题