问题标签 [netbeans6.7]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
552 浏览

java - Netbeans 构建过程似乎每次都重建所有 Jar

我们有一个由几个模块组成的项目(Netbeans 项目)。
当我告诉 Netbeans 编译顶级模块中的一个文件时,它开始检查所有依赖的模块并为每个模块构建一个 jar(至少这是日志消息每次都说两次的内容)。

今天早上我做了一个完整的清洁和构建,所有的罐子都应该是最新的,除了顶层的罐子。但是即使没有为其他模块编译任何文件,这个过程也将花费每个模块大约一分钟。更糟糕的是,中央模块每次被另一个模块引用时都会出现一次。

谁能告诉我是否有办法帮助 Netbeans 专注于更改的资源?

它是 Netbeans 6.7,并且 netbeans.conf 已经设置为 -Xmx512m

0 投票
2 回答
1586 浏览

java - 如何在 JAVA 中添加 RSS 代码

我想将 RSS 提要添加到我的页面。我正在 netbeans 6.7.1 的 Servlet 中创建一个页面

如何添加 RSS 代码?我的意思是我应该写什么库和具体的代码?

-圣行

0 投票
1 回答
599 浏览

java - 如何以主窗体而不是新生成窗体显示 Java 动态表

当我单击按钮时,我试图在特定事件上显示一个 java 表。它建立数据库连接,获取数据,将其放入表中,并在新窗口中显示表。但我想以我的主要形式显示该表格,即本身的按钮框架。

0 投票
1 回答
300 浏览

google-app-engine - Netbean 无法将 Google App Engine 服务器更新到 appengine-java-sdk-1.3.2

我正在使用 Netbean 6.7.1

我只是用 Netbean 自动更新来更新我在 netbean 中的谷歌应用引擎插件。我发现有新的应用引擎 SDK。所以我想更新我的谷歌应用引擎服务器指向 appengine-java-sdk-1.3.2

在我下载 appengine-java-sdk-1.3.2.zip 之后。我解压它。然后在 Netbean:

我已经在 Services -> Server 下有一个 Google App Engine 服务器。我无论如何都找不到将其指向新安装的 sdk 文件夹。所以我删除了现有的“Google App Engine”服务器并尝试添加一个新的。

服务器 -> 添加服务器 -> Google App Engine ->

在“安装位置”,我将它指向谷歌应用引擎文件夹,即“C:\appengine-java-sdk-1.3.2”,它在底部“C:\appengine-java-sdk-1.3. 2" & 不要让我继续。

我可以知道如何解决这个问题吗?谢谢!

0 投票
1 回答
128 浏览

ruby-on-rails - 无法弄清楚如何在 netbeans 中使用 db:seed for rails

似乎无法让我的seeds.rb 文件通过命令“rake db:seed”运行。我正在使用netbeans,而且我是rails的初学者,所以我可以做一些非常简单和愚蠢的事情=/。我知道您打算将您的种子.rb 文件放在 db 目录中,但 netbeans 似乎没有,或者可能已将其重命名...有什么帮助吗?

0 投票
2 回答
258 浏览

netbeans - NetBeans Platform 6.7 不能在 Java 1.5 上运行

我还在 netbeans 论坛上发布了这个问题 - 希望获得最大的曝光率。

我正在使用 NetBeans RELEASE67 和 maven-nbm 插件开发应用程序。我使用 Java WebStart 进行部署。

我的用户混合使用了 java 1.6 和 java 1.5

我的 java 1.5 用户无法使用该软件;在启动时,软件调用 TopComponent.findInstance() 这会导致

java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group

我可以看到 javax.swing.GroupLayout 对 java 1.6+ 来说是新的,并且很难理解基本的 TopComponent 代码与 java 1.6 是如此相关。

如何让 NetBeans 平台应用程序在 Java 1.5 下运行?

我将尝试倒退到 RELEASE65,希望这能解决问题。有什么建议么?

非常感谢。

0 投票
1 回答
1449 浏览

java - Unable to deploy in Netbeans 6.7.1 and Glassfish v2.1.1

I am trying to deploy a simple WebService in Netbeans 6.7.1 and Glassfish v2.1.1 and am getting the following error. I am using GlassfishESBv2.2 and windows 7 machine. I have tried googling and implemented things as shown in http://forums.netbeans.org/topic10055-0-asc-0.html . Still unable to deploy. Though the message says that application server is not started, from the Server tab , I am able to see a message which indicates Glassfish has started.Also , doing a netstat after trying to deploy returns this, which means that Glassfish is running.

C:>netstat -an | findstr "4848" TCP 0.0.0.0:4848 0.0.0.0:0 LISTENING

I have been trying real hard to get this resolved. Any help is highly appreciated.

Error Message :

The Sun Java System Application Server could not start. More information about the cause is in the Server log file. Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
C:\Users\xyz\Documents\NetBeansProjects\HWebService\nbproject\build-impl.xml:564: Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
BUILD FAILED (total time: 29 seconds)

0 投票
2 回答
16512 浏览

java - NetBeans - 如何从外部库导入类

我在 Netbeans 中有一个 Java 项目,我想在我的项目中使用Weka的一些类。

我按照此处的说明(项目、属性、库..)将文件 C:\Program Files\Weka-3-7\weka-src.jar 添加到我的库中

那么我现在如何导入我想要的类呢?

我尝试像这样导入:

为了踢球,我也尝试了这个,但也没有用:

NetBeans 对两者都说“包不存在”。

我是否错误地链接了库?我需要以不同的方式对导入进行表述吗?

非常感谢您对此提供的任何见解。

更新:

在我的项目选项卡的库文件夹中,我看到:

weka-src.jar 并在其下我看到:、META-INF、lib、src.main.java.weka.associations 以及来自 weka 的许多其他内容。

0 投票
1 回答
1049 浏览

tomcat - 当我尝试部署 servlet 应用程序时,netbeans 给出错误?

我正在使用 netbeans 6.7.1 和 apache tomcat server 7.0 但是在尝试部署我的 servlet 应用程序时出现以下错误

0 投票
1 回答
6905 浏览

netbeans - netbeans 6.9 UML 支持?

有没有一种简单的方法让 UML 与 Netbeans 6.9 一起使用,或者更容易回滚到运行良好的 Netbeans 6.7?

谢谢!