Posts by DiogoSantana • 215 points
5 posts
-
0
votes1
answer280
viewsA: Crud with simple java REST webservices. Problems with jersey client class
Check the jars on your classpath. You must have a Jersey version incompatible with the JAX-RS version or a Jersey package with another Jersey package.
-
2
votes1
answer32
viewsA: Time Formatting
The code is correct, there is probably a space at the beginning of the text 102330. Try debugging the function or do a simple sysout with the original value to see the space.
-
1
votes1
answer166
viewsA: Problem adding an element to a collection at runtime
This is a problem of using Hibernate. You are accessing a Lazy Collection outside the Hibernate session. For example, you searched for an object A which has a Lazy Collection of B. But before…
-
4
votes5
answers6237
viewsA: Request ajax is not working
The problem is not sending the data to the server, because jQuery sends the data by default with mimetype application/x-www-form-urlencoded, which is correct for the POST method. dataType is used by…
-
1
votes2
answers272
viewsA: Java Infinite Loop
The Timer.scheduleAtFixedRate(Timertask, long, long) method is used to repeat the task endlessly for a certain period of time, which in this case is every 20 seconds (14 * 1440 = 20160 milliseconds…
javaanswered DiogoSantana 215