Posts by wladyband • 4,694 points
426 posts
-
1
votes0
answers725
viewsQ: Could not find Factory: javax.faces.application.Applicationfactory
This error message only appears when I close and eclipse, after opening the eclipse again it generates this error in my project when I go up the page in Tomcat, but before all this my project works…
-
1
votes0
answers452
viewsQ: How do you save images within the project?
Greeting to all, I am working on a Java web project that is using JSF with Primefaces, Maven, CDI with JPA. My web application is successfully entering the records, the application is a news…
-
1
votes1
answer192
viewsQ: How to use the upload approach saving the path in the bank?
I created a Java web project that is using JSF with Primefaces, Maven, CDI with JPA. My web application is successfully entering the records, the application is a registration of news, where it is…
-
0
votes0
answers468
viewsQ: How to save folder path to database?
Greeting to all, I created an application that is saving the records in the database, as shown in the figure; This application is succeeding in saving the title, date and description, and is…
-
0
votes0
answers280
viewsQ: How to implement Upload to Frameworks Primefaces?
Greetings to you all, I was trying to implement upload in my JSF2 project, but in the act of clicking the save button appeared this message below; at…
-
1
votes0
answers247
viewsQ: My application does not find my method
Take a look at the error message; jul 28, 2015 8:12:39 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException GRAVE: Error Rendering…
-
0
votes0
answers296
viewsQ: The implementation of Beanvalidation is not working
Greeting to all, please note the XHTML page; <ui:composition template="/WEB-INF/template/LayoutSystem.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"…
-
6
votes2
answers453
viewsQ: Problems with table configuration in Primefaces
Greetings to you all, I’m new as a Java programmer, and I’m having difficulty setting some things in the table for lack of experience, note the image; As you can see the field Manufacturing year is…
-
0
votes1
answer334
viewsQ: How to strip table edges Primefaces?
Greetings to all, I’m new as a Java programmer, and I’m working on the Frond-End programming part of a JSF2 project, but I’m having a hard time getting the edges off a table as you see below; Here…
-
0
votes1
answer851
viewsQ: How to build a Complex Layout in JSF2?
I need to apply a type of Layout on my system in a way that looks more like desktop system, so I looked for a layout model on the site of Primefaces below;…
-
0
votes2
answers124
viewsQ: How to work with converted dates
Greetings to all, I have the following algorithm; import org.joda.time.DateTime; import org.joda.time.Days; public class DataDirenciada { public static void main(String[] args) { DateTime entrada =…
-
0
votes0
answers89
viewsQ: Tag issues in CSS files in a JSF2 project
Greetings to all, I’d like you to look down at the image; You may notice that there is a blue top with a Horizontal menu, it is attached to this tag below in XHTML; <header> <div…
-
0
votes3
answers436
viewsQ: Problems Configuring Gradient in CSS
I want to put a background on the web page with gradient effect, but that’s the result I’m getting; This very ugly. I used this configuration in CSS; body { font-size: 12px; font-family: Arial,…
-
1
votes4
answers368
viewsQ: Difficulty with CSS in a JSF2 project
Greeting to all, I’m new as a Java programmer with JSF projects, I want to put an image as the page plan, and I don’t know how to do. This is the structure of my project; I tried to put the line of…
-
1
votes1
answer858
viewsQ: How to change minSdkVersion on Android
I’m having some problems running on my real device. This is on top is my device, and this on the bottom are the settings of my project. apply plugin: 'com.android.application' android {…
-
1
votes2
answers8637
viewsQ: Maven build error - Could not resolve dependencies for project
This message appears on my Maven app I tried to build a Maven with the clean package command [INFO] Scanning for projects... [INFO] [INFO] Using the builder…
-
3
votes1
answer2259
viewsQ: Problems with Maven package dependencies
When I insert this package it generates an error, because it will be? <!-- Abstração para envio de e-mails --> <dependency> <groupId>com.outjected</groupId>…
-
0
votes2
answers758
viewsQ: Nullpointerexception error when using JSF EL
When I add this line of code to my XHTML page: <f:param name="pedido" value="#{pedido.id}"/> It generates this error: jun 04, 2015 10:59:42 AM…
-
0
votes2
answers509
views -
7
votes1
answer5553
viewsQ: java.lang.Illegalargumentexception error in Hibernate when working with Enum
Take a look at the error message: jun 02, 2015 5:23:57 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute ADVERTÊNCIA: /WEB-INF/template/pedidos/CapaPedido.xhtml @29,99…
-
2
votes1
answer775
views -
1
votes1
answer775
views -
1
votes1
answer27
viewsQ: Problems entering a datatime record
This is the description of my table in Mysql That’s how I’m inserting the records insert into pedido (data_criacao,data_entrega, entrega_cep,…
-
1
votes1
answer90
viewsQ: Does not recognize my createQuery method
I am with a JSF2.2 project with CDI, and I have correctly configured my project for CDI, what is very strange is that the createQuery method is not being recognized, other times did the same way of…
-
3
votes2
answers496
viewsQ: Problem with Fileupload
I had the opportunity to find an application ready on the internet as shown below:…
-
1
votes0
answers295
viewsQ: Error message Method not found: class Bean
This is the error message displayed; mai 25, 2015 3:40:55 PM com.sun.faces.context.SessionMap put ADVERTÊNCIA: JSF1063: AVISO! Definindo valor de atributo não serializável em HttpSession (chave:…
-
0
votes0
answers213
viewsQ: Method with Fileuploadevent from Managedbean not found: javax.el.Methodnotfoundexception
This is the error presented: ADVERTÊNCIA: Method not found: [email protected]() javax.el.MethodNotFoundException: Method not found:…
-
1
votes1
answer401
viewsQ: How to understand the error message?
How to understand this error message? mai 20, 2015 8:25:59 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute ADVERTÊNCIA: /pages/produtoCadastro.xhtml @80,49…
-
12
votes1
answer1008
viewsQ: Problems with JSF Fileupload
I am able to save the disk image in this JSF project <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
1
votes0
answers68
viewsQ: Change method to insert image - JSF
How do I change the method to insert the image? public Produto gravarImagem(Produto produto) { Session sessao = HibernateUtil.getSessionFactory().openSession(); Produto produtos = null; try { Query…
-
1
votes0
answers120
viewsQ: DAO Method Cannot Save Image
My bean class can already save the image in my specific directory,I know this because I did a test, but it only needs to be able to save the String that is the name of the file I do Fileupload in…
-
0
votes1
answer578
viewsQ: Error the request doesn’t contain a Multipart/form-data or Multipart/Mixed stream
I am trying to save the image to disk but it is generating me this error. mai 18, 2015 12:03:56 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute ADVERTÊNCIA:…
-
1
votes2
answers578
viewsQ: Why can’t I upload static data to the JSF datatable?
This is my class: package com.algaworks.pedidovenda.controller; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.faces.bean.ManagedBean; import…
-
0
votes0
answers43
viewsQ: How to implement Fileupload in a Hibernate project with JSF?
I’m with a JSF project with the DAO model using Hibernate, and I’m having a hard time understanding how to save the image in the database. I would just need to know what the method would look like…
-
0
votes1
answer889
viewsQ: How to Save Image in Database with JSF2
I’m with a project JSF with the model DAO using Hibernate, and I’m having a hard time understanding how to save the image in the database. I would just need to know what the method would look like…
-
1
votes1
answer903
viewsA: How to resolve the error Caused by: java.lang.Nullpointerexception in getSessionFactory()
The problem has been fixed in the query @Entity @Table(name = "tbl_fabricante") @NamedQueries({ @NamedQuery(name = "Fabricante.listar", query = "SELECT f from Fabricante f") }) public class…
-
1
votes1
answer903
viewsQ: How to resolve the error Caused by: java.lang.Nullpointerexception in getSessionFactory()
Is popping this error message for me Here are the lines that gave error: public class HibernateUtil { private static final SessionFactory sessionFactory = buildSessionFactory(); private static…
-
1
votes1
answer9247
viewsQ: How to access Postgresql consoles?
I bought it recently that book and have followed the guidelines on how to install Postgresql for the Windows operating system: I can make all possible changes to the interactive environment, but I…
-
0
votes1
answer896
viewsQ: Problems loading datatable Primefaces
I am using in the Java Web CDI, JPA and Maven application, my application is already entering records in the database without any problem, now what I have left is list the records in the Primefaces…
-
0
votes1
answer111
viewsQ: Difficulty to view data in a Vraptor web project
Check my JSP page <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"…
-
2
votes1
answer1176
viewsQ: The Primeface confirmation screen does not work
This is the screen that appears in my Browser When I press the delete button it simply does nothing. Does not generate any error on the eclipse consoles This is the separate code is problem here!…
-
1
votes1
answer1203
viewsA: Problem with coin mask on Primefaces
The error is found in this code snippet. Before <title><ui:insert name="titulo">Sistema de Pedido de Venda</ui:insert></title> <h:outputStylesheet library="css"…
-
1
votes1
answer1203
viewsQ: Problem with coin mask on Primefaces
I’m using JSF, and it’s not working my coin mask, did I miss some of the code? here is the code below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
1
votes1
answer1145
viewsQ: "Google account: blocked login attempt" - Android app
Take a look at my code first Loginactivity class package com.softblue.sendemail; import java.util.Properties; import javax.mail.Authenticator; import javax.mail.Message; import…
-
0
votes1
answer197
viewsQ: Could not send email - java.lang.Nullpointerexception Android
I’m following this tutorial http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_(no_Intents)_in_Android after I ran on my Android phone it generated this error on Logcat; 02-27…
-
1
votes1
answer107
viewsQ: Problem generating a Ruby on Rails app
When trying to create a Ruby On Rails application this happened; I tried to get around like this; how to solve this?…
ruby-on-railsasked wladyband 4,694 -
0
votes2
answers85
viewsQ: Problems with Insert in an Android project in Java
I am new as Java programmer for Android, I am creating an application that he register an email, in the image below he will register the email and above the user will login. But when I try to…
-
0
votes2
answers89
viewsQ: Database Stopped
I am with an application that I am running directly on Android phone, and it generates an error message on Logcat 12-05 15:55:18.043: D/ActivityThread(27221): setTargetHeapUtilization:0.25 12-05…
-
0
votes1
answer94
viewsQ: Why does Clear remove the R class from the Android project?
I lost an entire project because I ran a clear on the Android project as it removed the R class. Why does that happen? How do for Android project generates again the class R?
-
-3
votes1
answer108
viewsQ: Problem with programming logic in Java
Good afternoon to all, started two weeks ago a sequence of studies on programming for Android. I am studying by this book http://novatec.com.br/livros/googleand/sumario9788575221860.pdf bought it a…