Questions tagged as 'java-ee'

1
answer

ERROR Could not open connection and user root

These errors are happening below in my application: Note: I'm using Maven. Here is an image of how the project structure is in eclipse: Followtheerrorsbelow:out 22, 2015 11:03:58 PM org.hibernate.annotations.common.Version <clinit&g...
asked by 23.10.2015 / 04:13
1
answer

What do I do to read a column in excel with very large numbers?

How do I read a column of excel whose number is too large and prevent it from being interpreted as overflow? In Excel, the column has the number 26468314801 . As a number it loads 2.6468314801E10 , I looked for the solution and so...
asked by 15.10.2015 / 18:58
2
answers

Backing bind with JSF components

I am a beginner in Java EE and I am using an Algaworks e-book "Java EE 7, with JSF, PrimeFaces and CDI. Even ManagedBean occurred normally, but when I started with the backing bean Java could not find the property with HtmlInputText...
asked by 03.07.2015 / 04:41
1
answer

How to validate a form correctly?

I'm studying Java EE, but I'm having a hard time doing validations on data entry forms. My servlet CadastrarInstrutor collects the form fields and checks their contents. Below is the code for my JSP page (I put only the content of the...
asked by 25.10.2015 / 16:58
1
answer

Error changing theme from Primefaces

Hello, I'm learning primefaces and I'm trying to change the theme of primefaces. For that I downloaded it by Maven. The theme even appears in the dependencies. But the following message appears when I'm going to run in the browser:    Error l...
asked by 09.06.2015 / 16:00
1
answer

Error importing maven project into Eclipse: In the marketplace entries found to handle

I'm new to JavaWeb programming and when installing eclipse and importing my project created by Maven, please acknowledge the error below:    In the marketplace entries found to handle maven-antrun-plugin: 1.8: run in Eclipse. Please see Help...
asked by 15.07.2015 / 02:42
2
answers

Error Too many connections Hibernate + MySQL

I have an application in development in Java using Hibernate and PrimeFaces, in the list of items I have the option to do a search for some information in real time using several filters. However when I run the application and perform some te...
asked by 17.03.2015 / 17:23
1
answer

How to redirect the link in web.xml from vraptor to a Controller?

I have the following codes below: web.xml: <error-page> <error-code>404</error-code> <location>/error/404</location> </error-page> <error-page> <error-code>500</error-code>...
asked by 15.07.2015 / 20:54
1
answer

(Hibernate2) GenericJDBCException: Could not execute query - Closed session error while navigating the platform

Good afternoon! I have a web application and I decided to migrate it to Cloud from google. When I start my tomcat, the application runs smoothly, but after a certain time, these errors begin to appear. 09:24:35,719 WARN [JDBCExceptionRepor...
asked by 25.05.2015 / 21:18
1
answer

Calculating hours with Java 8

I was doing some testing with java 8, and was trying to figure out the difference between hours of two dates. I did it three ways, though, I do not know which one would be the right one and would like your help. LocalDateTime t1 = LocalDateTi...
asked by 26.11.2014 / 00:21