Questions tagged as 'jsf-2.2'

0
answers

Component p: firstfaces toolbar java.lang.IllegalArgumentException no Id

So, any id that I put in my toolbar generates this error (test was a temporary name that I put in the id): java.lang.IllegalArgumentException: teste at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:651) at o...
asked by 14.06.2018 / 04:43
0
answers

Error when saving to JSF + JPA & Hibernate database

Good afternoon I'm registering with JSF, and when I try to save the user to the database, this error happens, but I've added all the jars in the lib tomcat folder, and it's been verified that there is no jar of the same or different version for...
asked by 05.06.2018 / 18:55
0
answers

Open p: maximized dialog primefaces 6.1?

Good morning, could anyone tell me how to open p: dialog maximized with PrimeFaces 6.1? I used width: 100% height: 100% but it did not work. The height does not work.     
asked by 24.05.2018 / 16:31
0
answers

How to keep the font in HTML coming from a p: textEditor / IReport?

My application is properly generating the IReport report. But when generating the PDF and displaying it in JasperViewer the text is in a very small font, different from the one written by <p:textEditor/> . I tried to preconfigu...
asked by 17.05.2018 / 02:10
0
answers

org postgresql util PSQLException ERROR syntax error at or near auto_increment in a JSF project

What could be the problem? 2018-04-30 14:50:08,218 [http-nio-8080-exec-8] WARN org.hibernate.ejb.HibernatePersistence - HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; us...
asked by 30.04.2018 / 19:58
0
answers

Client does not support authentication protocol requested by server; consider upgrading MySQL client

My JSF project is generating this error; abr 27, 2018 6:00:17 AM org.hibernate.tool.hbm2ddl.SchemaUpdate execute GRAVE: could not complete schema update com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Client does not supp...
asked by 27.04.2018 / 11:03
0
answers

Error calling Driver # connect in a JSF project

Notice the error; 2018-04-30 06:51:29,699 [http-nio-8080-exec-2] INFO org.hibernate.Version - HHH000412: Hibernate Core {4.3.6.Final} 2018-04-30 06:51:29,701 [http-nio-8080-exec-2] INFO org.hibernate.cfg.Environment - HHH000206: hibernate.pr...
asked by 30.04.2018 / 11:58
0
answers

How to get server path without starting FacesContext - running JOB?

I have a JOB where I need to download files in order to use them. My project is Java + JSF + CDI. It happens that at the time of the execution of JOB I have no user logged in and the return of FacesContext is null because I am not logged i...
asked by 07.04.2018 / 21:44
0
answers

Tom cat - Configure X-FRAME-OPTIONS

Hello, I'm trying to set up tomcat web.xml version 9.0.2, as documented in: link to allow the addition of iframe on a specific page, however you are presenting me with the following error: javax.servlet.ServletException: The property [ant...
asked by 26.02.2018 / 20:32
1
answer

How to save an upload file to the bank with Primefaces

I researched a bit about uploading files with primefaces and found no code example that saved a file in the database. Can you save a file as if it were an attribute of a class?     
asked by 06.02.2018 / 03:05