Questions tagged as 'java'

0
answers

Adapt code to json url from google maps

I followed the code that was in the first comment Link to this comment worked fine but when I tried instead of passing json from wikipedia google json google maps no longer appear results I think the error is in the input input = "input=...
asked by 23.03.2016 / 17:58
0
answers

How to capture webcam images in OpenCV in Java?

Hello, I'm a beginner in opencv with java, and my problem is this, I want to capture the real-time image from my webcam and transmit it in a JLabel, however I'm having a problem executing the file, netbeans points the following error:    Excep...
asked by 07.03.2016 / 03:00
0
answers

Problem to convert date to Brazilian standard using JAXB

I'm having trouble converting xml to object using JAXB. The date comes in Sun Jan 30 16:08:23 BRT 18 format, and I want to convert it to the Brazilian format 12-08-2009 16:08:23 . JAXB conversion class: public class DateAdapter...
asked by 15.02.2016 / 19:50
0
answers

Error dependencies JasperReport

I use Netbeans. In my Maven I have this dependency for JasperReport: <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>5.0.1</...
asked by 07.03.2016 / 17:53
0
answers

I'm having trouble persuing data in DB

I'm connected to the postgreSQL database, I put the postgresql-9.4-1201.jdbc4.jar driver. When I click on register it appears that this window is neither listing nor persisting. The problem is that no error message appears in the console. Has an...
asked by 15.02.2016 / 19:37
0
answers

IntelliJ JSF - Page opens in white

What I did I created a Maven project and added the JSF module, however, even with the downloaded library. What's happening When I run my project using Tomcat , the olamundo.xhtml page is blank. The URL should come as http:/...
asked by 04.02.2016 / 01:46
0
answers

Helps to porting part of Java code to C ++ [closed]

I'm in a project and my 'responsibility' is to carry the Java code for C ++ that uses OpenGL. I've done almost everything, but it does not work. I think the problem is in this class that I could not do very well [I changed the code in java and g...
asked by 29.01.2016 / 17:14
1
answer

Custom Session generated by spring

I have the following scenario: a nodejs application that saves the session in redis. another spring application that also saves the session in redis. I would like to share this same session between the two applications. I thought of the...
asked by 30.01.2016 / 16:38
2
answers

What is the best way to run a java application as a Service on Windows (32 or 64 bit)?

What you need to do to run a Java application (without visual interface) as a Windows service. The program basically uses the Filesystem API and the network API (java.net, java.io and java.nio) If you need to build from the sources I'd like t...
asked by 21.02.2014 / 20:59
0
answers

Use SELECT NEW JPQL to populate DTO in an @OneToMany relationship

Talk to people !! I'm trying to popular my DTO object, whose main object has a OneToMany relationship. Here is the code for your observations: ## Mapped Object: public class Usuario implements Serializable, EntidadeBase { private static...
asked by 24.04.2016 / 14:31