Posts by Rafael Laranjeiras • 94 points
7 posts
-
0
votes1
answer34
viewsQ: Named query not known - Hibernate + JSF
Personal talk, I’m having trouble calling a named query, resulting in org.hibernate.MappingException: Named query not known Hibernate.cfg.xml: <hibernate-configuration> <session-factory>…
-
2
votes1
answer76
viewsA: Error of references to upload Tompcat application by Eclipse
Well, after a lot of research, I discovered the problem: I needed to include the Maven dependencies in the assemblies to be compiled by Eclipse when starting the server from the IDE. To do this:…
-
0
votes1
answer76
viewsQ: Error of references to upload Tompcat application by Eclipse
Good afternoon, you guys! Here’s the thing: I’m with a JSF application that if I build it from Maven (Maven install) and get the . War generated and der deploy on it by Tomcat, runs normally.…
-
0
votes1
answer92
viewsQ: Error starting JSF application in Apache - CDI Beanmanager instance is not available in JNDI
I have a JSF + Primefaces application that runs smoothly in the development environment. But when it comes to deploying . War in Tomcat, in production, I can’t. The error in the logs is:…
-
2
votes2
answers1327
viewsA: Streamcorruptedexception: invalid stream header
The problem was with Maven and its filters. Apparently, when compiling, it encoded the files . Jasper and ended up corrupting them. The solution was to signal the . Jasper extension not to be…
-
1
votes1
answer49
viewsA: LIKE with strange behavior in MYSQL
The point is this AND. Probably its result as a 'production line supplier' does not have Curr.fk_status... equal to 2. When you put the or, it intepreta like this: prof.nome like 'supplier.. ' OR…
-
0
votes2
answers1327
viewsQ: Streamcorruptedexception: invalid stream header
I have a JSF project, I use Netbeans. This function generates a Jasper report and was working normal, but after compiling the project started to release the exception…