Questions tagged as 'java'

1
answer

Error Connection Database; "Relation does not exist"

I'm having trouble saving data from a screen to my database I'm getting the following error:    "org.postgresql.util.PSQL.Exception: ERROR: column" name "of relation" product_name "does not exist position: 29" heading 29 and the following...
asked by 21.12.2016 / 19:50
1
answer

Is there any Java function equivalent to var_dump ()?

Does anyone know if there is any Java function equivalent to var_dump() ?     
asked by 26.05.2015 / 01:57
1
answer

How to implement the 'auto complete' feature in a JFormattedTextField?

I need when I type in JFormattedTextField to appear text suggestions. Is it possible to do this?     
asked by 14.05.2015 / 14:29
1
answer

Pass List to a sub report and call it in the main report

I have a method that generates a pdf report in a certain directory, now I need to use a sub report, but I have a hard time understanding how I can pass List as a data source to that sub relatório display it in the main report. T...
asked by 20.05.2015 / 19:42
0
answers

ERROR: null value in column "id_municipio_id_municipio" violates the non-null constraint [closed]

This error is occurring when I try to persist the screen data to the bank. I checked, by debugging the screen, that the data is being fetched. When the method exits line 33 of the image it goes straight to line 45. Theserverloglookslikethis:...
asked by 28.09.2017 / 22:38
3
answers

Java: File copy getting 0 bytes

I backup the database normally and saved to a folder using getRuntime (). exec (). I use a very simple method to copy this file using FileChannel. But it turns out the copy is 0 bytes long. It copies the file before it is complete. Any tip...
asked by 25.07.2017 / 16:03
0
answers

How to get all the methods a class is using

I need to find a way to find all the methods a class is using (pay attention, not the methods declared in it). EX: public class Bondia{ public static void main(String[] args){ System.out.println("oi"); System.out.println(new Random...
asked by 27.08.2017 / 23:00
1
answer

How to fix the error: HTTP Status 500 - Servlet execution threw an exception?

Language: Java Server: Apache Tomcat. Environment: Eclipse. I'm following Caelum's Handbook for course FJ21 - Web Development with Java. I created a form but at the time of writing it presents the following error:    HTTP Status 500 - Ser...
asked by 16.01.2017 / 00:14
0
answers

Framework for working with websockets in java [closed]

I need to introduce some java frameworks that use JSR356 but I do not find current information about which one is most used and why.     
asked by 10.10.2016 / 16:57
1
answer

Error Querying Web Wervice

I am doing a client query in a web service, I pass the key to see what it returns me saying that I did not pass the key, what can I be doing wrong in the method? This is .xml of the query <soapenv:Envelope xmlns:xsi="http://www.w3....
asked by 28.09.2016 / 15:05