Questions tagged as 'java'

0
answers

Problem with persisting relationship

I have 2 entities, the SubModel that has a list of possible options. I made a unidirectional OneToMany relation, when I do any persistence in the SubModel entity that the list of Options is empty Hibernate does quietly, but without having to inc...
asked by 07.10.2016 / 13:45
1
answer

How to run a routine periodically automatically on a java server like wildfly10

In a web java system, I need from time to time the application server to run a routine automatically (Scheduler). The problem is that I do not even know where to start, or how to make the server run this routine without the interaction of a user...
asked by 06.09.2016 / 14:27
0
answers

Barcode IReport, barcode 2int5

I built a new custom layout that we received via webservice I used Ireport 6.3.0 When I go to print the barcode is distorted The variable that the bar code receives the value is of type String The value of the test variable is "0000000...
asked by 05.09.2016 / 22:21
0
answers

Address finder by zip code in Java

Good morning, guys! I have a zip code finder that is no longer working. When I use the URL passing my zip code it returns the query. Thank you in advance for the help! Here's a sample link to test the direct query in the browser. Here is...
asked by 03.09.2016 / 16:18
0
answers

TableView with CheckBox - JavaFX

I'm filling the TableView with a ArrayList<HashMap<String, Object>> and I'm not using a template table but getting the data from ArrayList . When I dial CheckBox , I need to get data from a specific colum...
asked by 01.09.2016 / 15:27
1
answer

How to convert the curl request into java (Android)

I hope to convert the below example in CURL to Json in Java / Android. The IUGU API supports JSON or XML. I tried several examples on the internet, but without success. CURL: $ curl https://api.iugu.com/v1/payment_token \ -d "account_id=...
asked by 24.08.2016 / 17:41
0
answers

JasperPrint Ireport

Why does the following statement run on Windows and not linux? JasperPrintManager.printReport(relatorio, true); In the window open the printer dialog, but in Linux show the next error:    net.sf.jasperreports.engine.JRException: Report p...
asked by 25.08.2016 / 04:19
0
answers

Modify Li tag symbol in iText PDF generated

A little confusing heading, but the problem is somewhat simple. I'm generating a PDF via iText and I'm using HTML because it's simpler. I'm doing the example below the only problem is that I would like to modify the symbol of the tag &l...
asked by 24.08.2016 / 18:38
0
answers

The method exceeded the limit of 65,535 bytes

I have a JSP file, and any line of code that I enter, it displays the following error: "The code of method .. is exceeding the 65535 bytes limit". The problem is that I'm using OpenCMS, which is based on Java and XML. And in this file, it...
asked by 25.08.2016 / 15:37
0
answers

Error when executing servlet querying JAR file [closed]

I created a Servlet that should access a class in java that is in a jAR file on the servlet buildpath, but it is giving an error, I will leave the prints here for anyone who can help me take a look. Thanks!     
asked by 20.09.2016 / 23:22