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

标签 java netbeans servlets jakarta-ee glassfish

在选择 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/

相关文章:

c++ - 使用 Vlfeat 的 C API 进行快速换档

java - servlet容器如何处理这个http请求呢?

netbeans - 如何使用 Netbeans 变量格式化程序?

javascript - 如何使用jquery ajax提交表单?

gwt - 以 ROOT 身​​份部署在 Tomcat 中时,RPC/Servlet 无法正常工作

java - 在方法签名中有一个最终输入参数是什么意思?

java - 如何抑制特定的 Kotlinc/Javac 编译器警告?

java - 非整数 ULP 错误?

java - 从命令行启动文件的.class命令

java - struts 中的 web.xml 以及如何使用 struts-config.xml 配置它