Questions tagged as 'java'

0
answers

How to add a parameter to the Liferay URL?

I am using the hook of the login, along with the wrapper service UserLocalServiceWrapper of liferay 7 which has the following method: @Override public int authenticateByEmailAddress(long companyId, String emailAddress,...
asked by 13.02.2017 / 22:45
1
answer

how can I validate a junction of hours in jsf hibernate mysql

This is my managed bean public class PeliculaMB{ public EntityManager em; private Pelicula pelicula= new Pelicula(); private Categoria categoria = new Categoria(); private List<Pelicula> peliculas = new ArrayList<Pelicula>(); priv...
asked by 11.10.2016 / 20:21
1
answer

HTTP status 500 - Invalid persistence.xml. JPA + Hibernate + DAO + Servlet + JSP

This error appears when loading.    HTTP status 500 - Invalid persistence.xml.       type Exception Report       message Invalid persistence.xml.       description The server encountered an internal error that caused it not to   I could fi...
asked by 10.10.2016 / 22:15
0
answers

Memory leaks on Android

Good morning, my first time here. I am learning in a totally self-taught way to program in Java , mainly for Android . I could use the opinion of those who know about memory leaks very well (For now this is what is making it harder for me...
asked by 17.10.2016 / 00:46
2
answers

Problem when executing a controller class

What I want to do is create a Controller for each Vista , but when creating a second controller it does not work, does not open the window or JIntenarFrame that corresponds. I have this code in the controller of the main window, it works...
asked by 13.10.2016 / 05:29
1
answer

I have this exception testng: Caused by: java.lang.NoSuchMethodError: org.apache.http.params.HttpConnectionParams.setSoReuseaddr

What should I do to avoid this exception when I try to run my selenium tests with testNG.    org.testng.TestNGException: Can not instantiate class   TestCaseJuntos.BeforeandAfterclass at   org.testng.internal.ObjectFactoryImpl.newInstance (Ob...
asked by 29.09.2016 / 18:49
1
answer

Search without reloading the page [duplicate]

I need to perform a Facebook search, that is to say, by typing the name X in an input that is filtered from a database query without reloading the page How should I do it I'm working with java and postgresql database     
asked by 13.10.2016 / 03:08
0
answers

How to create a call or video call with Smack on Android?

How can I create a call through Smack? I have Openfire installed with Jingle Node configured on my server.     
asked by 12.10.2016 / 22:03
2
answers

How to make it work in the background?

I have an App that shows Toast indefinitely, how can I do it in the background even without using it?     
asked by 02.10.2016 / 15:03
0
answers

Error java.lang.IllegalArgumentException: Rect should intersect with child's bounds

From time to time I get the error in Android    java.lang.IllegalArgumentException: Rect should intersect with child's    bounds It is a very curious error, it only happens to me, when the app is installed for the first time. I found that...
asked by 30.09.2016 / 20:24