- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我开发了一个发送 SMS 的应用程序(使用 SMSlib),当我在 netbeans 上执行我的应用程序时,它运行良好并且发送 SMS 没有问题。
使用同一台电脑导出的可运行 Jar,停止发送短信。
但是当我在命令行执行我的jar时:
java -jar "D:\dist\Abs.jar"
应用程序运行良好并且发送短信,我复制了文件如下:
comm.jar ==> C: \ Program Files \ Java \ jdk1.7.0_79 \ lib
comm.jar ==> C: \ Program Files \ Java \ jdk1.7.0_79 \ jre \ lib \ ext
win32com.dll ==> C: \ Program Files \ Java \ jdk1.7.0_79 \ bin
win32com.dll ==> C: \ Program Files \ Java \ jdk1.7.0_79 \ jre \ bin
win32com.dll ==> C: \ Windows \ System32
javax.comm.properties ==> C: \ Program Files \ Java \ jdk1.7.0_79 \ lib
javax.comm.properties ==> C: \ Program Files \ Java \ jdk1.7.0_79 \ jre \ lib
有人知道问题出在哪里吗?
谢谢
堆栈跟踪(netbeans):
mars 30, 2016 12:32:11 PM Abs.AjouterAbs jBAbsSMSActionPerformed
INFOS: Entering application.
0 [AWT-EventQueue-0] INFO smslib - SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
0 [AWT-EventQueue-0] INFO smslib - Version: 3.5.1
0 [AWT-EventQueue-0] INFO smslib - JRE Version: 1.7.0_79
0 [AWT-EventQueue-0] INFO smslib - JRE Impl Version: 24.79-b02
0 [AWT-EventQueue-0] INFO smslib - O/S: Windows 7 / x86 / 6.1
0 [AWT-EventQueue-0] DEBUG smslib - Initialized.
0 [AWT-EventQueue-0] INFO smslib - Queue directory not defined. Queued messages will not be saved to filesystem.
0 [AWT-EventQueue-0] DEBUG smslib - Initialized.
0 [NotifyQueueManager] DEBUG smslib - Running...
0 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running...
0 [AWT-EventQueue-0] DEBUG smslib - Initialized.
0 [DelayQueueManager] DEBUG smslib - Running...
0 [DelayQueueManager] DEBUG smslib - DelayQueueManager running...
0 [WatchDog] DEBUG smslib - Running...
0 [Thread-7] INFO smslib - GTW: modem.com4: Starting gateway, using Generic AT Handler.
0 [Thread-7] INFO smslib - GTW: modem.com4: Opening: COM20 @9600
47 [Thread-7] DEBUG smslib - Initialized.
47 [Thread-7] DEBUG smslib - Initialized.
47 [KeepAlive [modem.com4]] DEBUG smslib - Running...
47 [CNMIEmulatorProcessor [modem.com4]] DEBUG smslib - ** disabled **
47 [Thread-7] DEBUG smslib - GTW: modem.com4: ModemReader thread started.
47 [Thread-7] DEBUG smslib - GTW: modem.com4: AsyncNotifier thread started.
47 [Thread-7] DEBUG smslib - GTW: modem.com4: AsyncMessageProcessor thread started.
47 [Thread-7] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
1061 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :(27)
1264 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :+++
1467 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :ATZ(cr)
1670 [Thread-7] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
2684 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :ATZ(cr)
2886 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :ATE0(cr)
3089 [Thread-7] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
4103 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CPIN?(cr)
4103 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: +CPIN: READY
4103 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :+CPIN: READY(cr)
4103 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :ATE0(cr)
4306 [Thread-7] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CLIP=1(cr)
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: OK
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :OK(cr)
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+COPS=0(cr)
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: OK
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :OK(cr)
5320 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :ATE0(cr)
5523 [Thread-7] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CREG=1(cr)
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: OK
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :OK(cr)
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CREG?(cr)
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: +CREG: 1,1OK
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :+CREG: 1,1(cr)OK(cr)
6537 [Thread-7] INFO smslib - GTW: modem.com4: GSM: Registered to home network.
6537 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CMEE=1(cr)
6552 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: OK
6552 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :OK(cr)
6552 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CPMS=?(cr)
6552 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: +CPMS: ("SM","ME"),("SM","ME"),("SM","ME")OK
6552 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :+CPMS: ("SM","ME"),("SM","ME"),("SM","ME")(cr)OK(cr)
6552 [Thread-7] INFO smslib - GTW: modem.com4: MEM: Storage Locations Found: SMME
6552 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CNMI=?(cr)
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: +CNMI: (0-2),(0-3),(0,2),(0-2),(0,1)OK
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :+CNMI: (0-2),(0-3),(0,2),(0-2),(0,1)(cr)OK(cr)
6568 [Thread-7] DEBUG smslib - CNMI: Found best match: 2
6568 [Thread-7] DEBUG smslib - CNMI: Found best match: 1
6568 [Thread-7] DEBUG smslib - CNMI: Found best match: 0
6568 [Thread-7] DEBUG smslib - CNMI: Found best match: 2
6568 [Thread-7] DEBUG smslib - CNMI: Found best match: 0
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CNMI=2,1,0,2,0(cr)
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: OK
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :OK(cr)
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: SEND :AT+CMGF=0(cr)
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: BUFFER: OK
6568 [Thread-7] DEBUG smslib - GTW: modem.com4: RECV :OK(cr)
6568 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager end...
6568 [Thread-7] DEBUG smslib - Initialized.
6568 [Thread-7] INFO smslib - GTW: modem.com4: Gateway started.
6568 [QueueManager [modem.com4]] DEBUG smslib - Running...
6677 [NotifyQueueManager] DEBUG smslib - Running...
6677 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running...
6677 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager end...
6786 [NotifyQueueManager] DEBUG smslib - Running...
6786 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running...
11576 [QueueManager [modem.com4]] DEBUG smslib - Running...
11576 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :AT+CMMS=2(cr)
11576 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: BUFFER: AT+CMMS=2OK
11576 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: RECV :AT+CMMS=2(cr)(cr)OK(cr)
11591 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: =================================================
<< SmsSubmitPdu >>
Raw Pdu: 0011000B911296564756F30008FF6000410062007300200076006F0075007300200069006E0066006F0072006D006500200071007500650020006C00270065006E0076006F0069002000640065007300200053004D005300200065007300740020007400E90072006D0069006E00E9
SMSC Address: [Length: 0 octets]
First Octet: 11 [TP-MTI: (SMS-SUBMIT), TP-MMS: (has no messages), TP-RD: (allow duplicates), TP-VPF: (validity format, integer, TP-SRI: (No Status Report), TP-SRR: (No Status Report), TP-UDHI: (no UDH)]
Message Reference: 00
Destination Address: [Length: 11 (0B), Type: 81 (10000001), Address: 21696574653]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-VPF: 10584 hours
User Data Length: 96 (60) octets
User Data (pdu) : 00410062007300200076006F0075007300200069006E0066006F0072006D006500200071007500650020006C00270065006E0076006F0069002000640065007300200053004D005300200065007300740020007400E90072006D0069006E00E9
User Data (decoded): [Abs vous informe que l'envoi des SMS est términé]
=================================================
11591 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: Sending Pdu: 0011000B911296564756F30008FF6000410062007300200076006F0075007300200069006E0066006F0072006D006500200071007500650020006C00270065006E0076006F0069002000640065007300200053004D005300200065007300740020007400E90072006D0069006E00E9
11591 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :AT+CMGS=110(cr)
11794 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
12808 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :0011000B911296564756F30008FF6000410062007300200076006F0075007300200069006E0066006F0072006D006500200071007500650020006C00270065006E0076006F0069002000640065007300200053004D005300200065007300740020007400E90072006D0069006E00E9
14259 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: BUFFER: 0011000B911296564756F30008FF6000410062007300200076006F0075007300200069006E0066006F0072006D006500200071007500650020006C00270065006E0076006F0069002000640065007300200053004D005300200065007300740020007400E90072006D0069006E00E9+CMGS: 61OK
14259 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: RECV :0011000B911296564756F30008FF6000410062007300200076006F0075007300200069006E0066006F0072006D006500200071007500650020006C00270065006E0076006F0069002000640065007300200053004D005300200065007300740020007400E90072006D0069006E00E9(26)(cr)+CMGS: 61(cr)OK(cr)
14274 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager end...
14384 [NotifyQueueManager] DEBUG smslib - Running...
14384 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running...
15008 [WatchDog] DEBUG smslib - Running...
19282 [QueueManager [modem.com4]] DEBUG smslib - Running...
19282 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :AT+CMMS=2(cr)
19282 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: BUFFER: AT+CMMS=2OK
19282 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: RECV :AT+CMMS=2(cr)(cr)OK(cr)
19282 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: =================================================
<< SmsSubmitPdu >>
Raw Pdu: 0051000B911296564756F30008FF8C0500035D02010059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020
SMSC Address: [Length: 0 octets]
First Octet: 51 [TP-MTI: (SMS-SUBMIT), TP-MMS: (has no messages), TP-RD: (allow duplicates), TP-VPF: (validity format, integer, TP-SRI: (No Status Report), TP-SRR: (No Status Report), TP-UDHI: (has UDH)]
Message Reference: 00
Destination Address: [Length: 11 (0B), Type: 81 (10000001), Address: 21696574653]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-VPF: 10584 hours
User Data Length: 140 (8C) octets
User Data (pdu) : 0500035D02010059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020
User Data Header (pdu) : 0500035D0201
User Data Header Length: 5 (05) octets
UDH Information Elements:
ConcatInformationElement[00, 03, 5D0201][MpRefNo: 93, MpMaxNo: 2, MpSeqNo: 1]
Non UDH Data (pdu) : 0059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020
Non UDH Data (decoded): [YOSRA BENABDELADHIM est absent(e) le =====>:30-03-2016(séance1) en ]
=================================================
19282 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: Sending Pdu: 0051000B911296564756F30008FF8C0500035D02010059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020
19282 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :AT+CMGS=154(cr)
19485 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
20499 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :0051000B911296564756F30008FF8C0500035D02010059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020
21903 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: BUFFER: 0051000B911296564756F30008FF8C0500035D02010059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020+CMGS: 62OK
21903 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: RECV :0051000B911296564756F30008FF8C0500035D02010059004F005300520041002000420045004E0041004200440045004C0041004400480049004D002000650073007400200061006200730065006E00740028006500290020006C00650020003D003D003D003D003D003E003A00330030002D00300033002D00320030003100360028007300E90061006E006300650031002900200065006E0020(26)(cr)+CMGS: 62(cr)OK(cr)
21918 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: =================================================
<< SmsSubmitPdu >>
Raw Pdu: 0051000B911296564756F30008FF680500035D0202006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065
SMSC Address: [Length: 0 octets]
First Octet: 51 [TP-MTI: (SMS-SUBMIT), TP-MMS: (has no messages), TP-RD: (allow duplicates), TP-VPF: (validity format, integer, TP-SRI: (No Status Report), TP-SRR: (No Status Report), TP-UDHI: (has UDH)]
Message Reference: 00
Destination Address: [Length: 11 (0B), Type: 81 (10000001), Address: 21696574653]
TP-PID: 00 (00000000)
TP-DCS: 08 (UCS2 encoding) (00001000)
TP-VPF: 10584 hours
User Data Length: 104 (68) octets
User Data (pdu) : 0500035D0202006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065
User Data Header (pdu) : 0500035D0202
User Data Header Length: 5 (05) octets
UDH Information Elements:
ConcatInformationElement[00, 03, 5D0202][MpRefNo: 93, MpMaxNo: 2, MpSeqNo: 2]
Non UDH Data (pdu) : 006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065
Non UDH Data (decoded): [matère:Analyse 2 et son absence est non justifiée]
=================================================
21918 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: Sending Pdu: 0051000B911296564756F30008FF680500035D0202006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065
21918 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :AT+CMGS=118(cr)
22121 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: clearBuffer() called.
23135 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: SEND :0051000B911296564756F30008FF680500035D0202006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065
24165 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: BUFFER: 0051000B911296564756F30008FF680500035D0202006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065+CMGS: 63OK
24180 [QueueManager [modem.com4]] DEBUG smslib - GTW: modem.com4: RECV :0051000B911296564756F30008FF680500035D0202006D0061007400E800720065003A0041006E0061006C0079007300650020003200200065007400200073006F006E00200061006200730065006E0063006500200065007300740020006E006F006E0020006A00750073007400690066006900E90065(26)(cr)+CMGS: 63(cr)OK(cr)
24180 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager end...
24290 [NotifyQueueManager] DEBUG smslib - Running...
24290 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running...
29188 [QueueManager [modem.com4]] DEBUG smslib - Running...
30015 [WatchDog] DEBUG smslib - Running...
30062 [CNMIEmulatorProcessor [modem.com4]] DEBUG smslib - ** disabled **
32480 [DelayQueueManager] DEBUG smslib - DelayQueueManager end...
32683 [WatchDog] DEBUG smslib - Stopped.
32683 [AWT-EventQueue-0] INFO smslib - GTW: modem.com4: Stopping gateway...
32683 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager end...
32683 [QueueManager [modem.com4]] DEBUG smslib - Stopped.
32683 [KeepAlive [modem.com4]] DEBUG smslib - Stopped.
32683 [CNMIEmulatorProcessor [modem.com4]] DEBUG smslib - Stopped.
32683 [SMSLib-AsyncNotifier : modem.com4] DEBUG smslib - GTW: modem.com4: AsyncNotifier thread ended.
32683 [SMSLib-AsyncMessageProcessor : modem.com4] DEBUG smslib - GTW: modem.com4: AsyncMessageProcessor thread ended.
32683 [SMSlib-ModemReader-modem.com4] DEBUG smslib - GTW: modem.com4: ModemReader thread ended.
32683 [AWT-EventQueue-0] INFO smslib - GTW: modem.com4: Closing: COM20 @9600
32683 [AWT-EventQueue-0] INFO smslib - GTW: modem.com4: Gateway stopped.
32792 [NotifyQueueManager] DEBUG smslib - Running...
32792 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager running...
32792 [NotifyQueueManager] DEBUG smslib - NotifyQueueManager end...
32885 [NotifyQueueManager] DEBUG smslib - Stopped.
mars 30, 2016 12:33:01 PM Abs.AjouterAbs jBAbsSMSActionPerformed
INFOS: Exiting application.
javax.comm.properties:
#
# Drivers loaded by the Java Communications API standard extension
# at initialization time
#
# Format:
# Each line must contain ONE driver definition only
# Each line must be of the form:
# driver=<ClassName>
# No spaces or tabs in the line.
# ClassName must implement the interface javax.comm.CommDriver
# example: driver=Win32Serial
#
#
# The hash(#) character indicates comment till end of line.
#
# Windows Serial Driver
Driver=com.sun.comm.Win32Driver
最佳答案
您收到的异常与无效端口有关。在 NetBeans 中运行时使用什么端口进行通信?当您在 NetBeans 外部将 JAR 作为 fat jar 运行时,请检查您的属性文件,以查看您设置的端口号。它可能只是空的或无效的数字,例如“”或-1。
Ports范围为 0 - 65535。有些是保留的,不能使用。如果您在同一网络接口(interface)上使用两个相同的端口,则可能会遇到端口冲突问题。这是check port issues via netstat的方法.
关于java - 我的 jar 应用程序 (SMSlib) 仅适用于命令行和 netbeans,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36289897/
默认情况下,netbeans 将其设置存储在用户主目录下名为 .netbeans 的目录中。是否可以更改此目录的位置(尤其是在 Windows 下)? 感谢 James Schek,我现在知道了答案(
我每天都在使用 Netbeans IDE,突然我的“项目”和"file"选项卡消失了,我真的不知道该怎么办,我在谷歌上搜索过,但找不到任何合适且有效的解决方案来解决这个问题。 有人能帮助我吗? 如果您
我正在使用 Netbeans 来满足各种开发需求。但是安装大量插件会使 Netbeans 非常慢。是否可以为每个特定的开发需求(如 Eclipse)安装多个 Netbeans? 最佳答案 还有另一种方
只是一个简单的问题,我在哪里可以下载旧版本的 Netbeans? Netbeans 6.9.1 对 Java EE 开发人员来说尤为重要。 我看过他们的网站,但我只能找到 7.0.1 和 7.1 的下
我是新的 NetBeans 用户。当我加载我的项目时,一些文件被淡化了。当我将光标放在它们上时,它们显示为“忽略”。为什么?所有的 JAR 文件和类文件也会被忽略。 最佳答案 检查Tools->Opt
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 3年前关闭。 锁定。这个问题及其答案
任何人都知道是否可以在 netbeans 中搜索和替换所有打开的文件?如果有的话,似乎也找不到选项。 我正在使用 Netbeans 6.9 PHP IDE 最佳答案 CTRL+SHIFT+H 这将打开
是否可以将条目添加到由netbeans生成的jar的manifest.mf文件中? 例如构建一个osgi包。 最佳答案 请注意,您可以通过ant任务即时创建 list ,并动态设置属性。 首先,必须更
我最近开始使用 NetBeans,但缺少一个功能使我无法完全切换到 NetBeans。我一直使用终端,从 NetBeans 窗口切换到终端窗口很痛苦。 有没有办法将终端窗口嵌入到 NetBeans I
在netbeans中调试Java程序时,我希望调试器在导致NullPointerException的行上停止,以便可以在那里检查变量。我相信我必须在该行设置的断点上使用条件,但是条件的语法是什么? 谢
当我在JavaScript中使用PHP时,Netbeans 7.0将行突出显示为语法错误 就我而言 $(document).ready(function(){ $("#rating_comp
默认情况下,netbeans 中所有打开的文件都显示在水平选项卡中,就像浏览器一样。 我希望我的选项卡垂直列出,这可能吗? 最佳答案 工具 -> 选项 -> 外观 -> 选项卡位置 关于netbean
NetBeans 中是否有颜色选择器的快捷方式? 我在 NetBeans 网站上发现了同样的查询,据说这是可能的,但我找不到如何做到这一点的实际答案。 我的意思是:当我在 CSS 文件中编辑涉及颜色的
我刚刚开始使用 NetBeans,并正在尝试了解如何: 保存时删除尾随空格。我知道你可以手动调用它,但如果你忘记了,那就很烦人了。可以在保存时自动完成吗?我希望这样做是因为它可以保持代码整洁,因为当您
我正在开发一个 netbeans 应用程序,它的主要 TopComponent 包含一个渲染 Canvas : 当我关闭应用程序(不是顶级组件)时会生成一个错误,有时这会导致在应用程序关闭后运行一个进
有没有办法在 netbeans 中进行项目范围的搜索和替换?好像应该有,但是没找到相关信息。 谢谢 最佳答案 在编辑菜单下,您应该找到在项目中替换...的菜单项 关于netbeans - 搜索并替换整
如果是,怎么做? 最佳答案 在 Netbeans 6.9 for PHP 中,转到文件->项目属性。 在“类别”中,选择“运行配置”。有很多选项可以让您的整个项目在远程服务器上运行。 关于netbea
首先,我使用的是 NetBeans IDE 7.1(内部版本 201112071828)。 我有这段代码 onload = function() { tooltip.
/* * * This is a long comment. I broke it into lines, but that made it impossible to edit without
我在 netbeans 中有一个项目,其中有一个使用 jflex 生成的 java 扫描器。因此,当我通常使用 make 文件构建它时,我使用 -Xlint 选项,即 javac -Xlint jav
我是一名优秀的程序员,十分优秀!