【问题标题】:Sun Java System App Server on Netbeans 6.9.1Netbeans 6.9.1 上的 Sun Java System 应用服务器
【发布时间】:2011-04-07 02:03:50
【问题描述】:

在选择 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 ...”

--------
如何到达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

【问题讨论】:

  • 请发布您遇到的错误。它可能在 NB 日志文件中。
  • 我可以访问查看菜单下的 IDE 日志??这个 NB 日志文件在哪里??

标签: java netbeans servlets jakarta-ee glassfish


【解决方案1】:

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

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

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

如果您还没有在这台机器上安装 SJSAS 8.2...您需要先安装。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多