Questions tagged as 'netbeans'

1
answer

NetBeans error: package org does not exist

I'm developing a desktop application using netbeans. I spent a few months without touching the project, and when I open it I get the message that the org package does not exist. I already deleted the Netbeans Cache folder, I updated it, updated...
asked by 07.05.2016 / 02:17
1
answer

Versioning of .jar in Java with Netbeans

I'd like my .jar to have a version number and release date inside it, so I could tell it on the about screen for example. So far without mystery, but the point is that with every build in Netbeans I wanted the version to be incr...
asked by 21.07.2015 / 14:36
2
answers

Netbeans Xdebug does not work

I'm trying to use Netbeans Xdebug. I mark the line, and then click on "Debug file". However, nothing happens to me! Do you have any specific settings what should I do? When I do this procedure, in the right corner of Netbeans is "Waiting connect...
asked by 13.04.2015 / 18:40
2
answers

Netbeans - How to generate a jar with dependencies without the Maven

I have a project in Netbeans, however I only know Maven and I have some dependencies in the project. If I build or even run Netbeans, everything works smoothly, but I wanted to get the jar and test it on other machines. I've tried e...
asked by 20.02.2014 / 22:28
1
answer

Test with junit

I developed a simple banking system, now I want to know how I can use Junit only in the withdraw and deposit methods. package CaixaEletronico; import java.util.Random; import java.util.Scanner; public class Caixa { public static voi...
asked by 14.12.2017 / 02:46
2
answers

Invert values from one vector to another vector

I am in the second semester of college, we are learning vector, and I am very lost in the list of exercises. An exercise asks the user to type 5 elements for a vector, and then I have to get these elements, send them to another vector, only w...
asked by 18.02.2017 / 13:01
1
answer

chrome does not debug with netbeans connector

I've installed the plugin extension Netbeans connector for the Chrome browser but it does not open anything, only a white screen with the message "Netbeans Connector" is debugging this guide. Has anyone ever experienced this? Do you have a s...
asked by 04.06.2015 / 16:02
2
answers

Convert empty string to integer to insert into database

How can I convert a text field (JTextField for example) empty, to integer, to later insert into the database? I have in the database fields defined as int, but when the user does not fill a jTextField is an empty String that is not accepted i...
asked by 14.11.2014 / 18:08
0
answers

Maven Netbeans plugin error

I'm trying to run a project in netbeans and is giving the following error "org.codehaus.mojo: exec-maven-plugin: 1.2.1: exec". I searched the error, and found the following solution: right click > properties > actions > change the actio...
asked by 15.11.2018 / 22:25
2
answers

Static content of jsp does not appear

I'm using netbeans 7.3.1, apparently it's working ok. The pages are opening normally, but when I try to access the css, jpg, ... content inside the resources folder, no content appears. In the dispatcher-servlet.xml file I put the following l...
asked by 21.02.2014 / 22:30