Questions tagged as 'java'

1
answer

Jasper Reports - Error fetching bean value

I've been looking for 3 days now and can not solve this problem. Let's explain: I'm creating a report in jaspersoft studio and linking to my database, in the preview of my report (within the jaspersoft software) everything is working perfectly....
asked by 29.10.2015 / 17:35
2
answers

Apache Commons Email does not send email using Gmail

Click here to open the repository in the Maven Repository for Apache Commons Email. I have the following code that receives a recipient, subject and message from a form: @RequestMapping(value = { "/email_commons/send" }, method = RequestM...
asked by 29.10.2015 / 14:02
1
answer

Return method with throw

This method has the return type Connection , but in blocks catch there is no return conn and there is no compilation or execution error. I think it's for throws and throw but I do not know exactly why. pub...
asked by 13.11.2015 / 14:55
1
answer

Verify that the value already exists in the txt file

I'm developing an inventory application that in its freeware version will work with the data entered in a txt file line by line, the data structure will be as follows Barcode + Description + Location "And after locating I want to add a sum,...
asked by 15.11.2015 / 16:48
1
answer

How to use the TIMER class in a method with Math.max and Math.min

I have an ambitious project to create my math game (which I found to be better than a simple calculator) in just a JFrame , with methods only, without using any other class in the package ... With the help of Swing and Netbeans...
asked by 15.04.2016 / 20:09
2
answers

Unsatisfied dependencies - SpringFramewok

Hello I'm studying Spring and I'm having the following problem to upload the project to tomcat8. My dependencies are not being injected, but I'm not able to identify what's missing. mvc-dispatcher-servlet.xml                       ...
asked by 23.04.2016 / 00:13
1
answer

FullCalendar fill in events by JSON

I'm putting the FullCalendar component into my Java application. I'm having trouble loading events into the calendar. How do I read json from within my js file? The following is the code below: JS file: $.noConflict(); jQuery(documen...
asked by 11.02.2016 / 18:15
1
answer

Get Frame already started from the "Event Dispatch Thread"

I have a desktop application in swing , and in it, I have a single JFrame that always stays visible while the application is open. There are also some% modal_dependents dependent on this Frame , which open from certain buttons in...
asked by 05.04.2016 / 17:47
1
answer

Client sending String [] instead of BigDecimal to server when changing

When it's a new record it works quietly , the problem is in change . I have a A object that is the master, another B object that is a ArrayList tail and master A detail, and last , a C object that is ArrayList and detail o...
asked by 28.09.2015 / 16:03
1
answer

Request with Volley Webservice does not recognize json

I am trying to do a POST request with Android Volley, but my Webservice does not recognize the json file that is sent as a parameter. With the Google Chrome Postman plugin Webservice consumes perfectly without any problems. Below is my method...
asked by 22.09.2015 / 14:54