gpt4 book ai didi

java - Netbeans 6.9.1 上的 Sun Java System 应用服务器

转载 作者:行者123 更新时间:2023-12-01 05:54:13 24 4
gpt4 key购买 nike

在选择 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 技术”。请参阅链接:

App Server Download

Servlet Tut

---------*
工具->服务器->添加服务器->添加服务器实例 - 选择“Sun Java System Application Server 8.2”->下一步

错误:“服务器位置不是“Sun Java System Application Server ...” 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

最佳答案

您看到的错误消息基本上意味着 IDE 认为 C:\Sun\AppServer 中没有安装 SJSAS 8.2。

如果您在该位置安装了 SJSAS 8.2,则 IDE 中存在错误。

如果您将服务器安装在其他位置,请在文本字段中输入安装目录的路径(或使用浏览按钮)。

如果您尚未在此计算机上安装 SJSAS 8.2...您需要先安装。

关于java - Netbeans 6.9.1 上的 Sun Java System 应用服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3623024/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com