0
I’m studying jsf, I made a launch registration page, but when I enter the data and click on the button to register is occurring the error below, someone can help me
HTTP Status 500 - /Registration.xhtml @44,41 value="#{cadastre Unreachable, Identifier 'cadastralBean' resolved to null
type Exception report
message /Registration.xhtml @44,41 value="#{cadastre Unreachable, Identifier 'cadastralBean' resolved to null
Description The server encountered an Internal error that prevented it from fulfilling this request.
Exception
javax.servlet.Servletexception: /Registration.xhtml @44,41 value="#{cadastre Unreachable, Identifier 'cadastralBean' resolved to null javax.faces.webapp.FacesServlet.service(Facesservlet.java:606) org.apache.Tomcat.websocket.server.WsFilter.doFilter(Wsfilter.java:52) root cause
javax.el.Propertynotfoundexception: /Registration.xhtml @44,41 value="#{cadastre Unreachable, Identifier 'cadastralBean' resolved to null com.sun.faces.facelets.el.TagValueExpression.getType(Tagvalueexpression.java:100) com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(Htmlbasicinputrenderer.java:95)
Robson, it would be better if you post your code, but you can start by checking if Managed Bean is annotated with @Managedbean, if the <lancing> object is declared in the Managed Bean cadastre whether it possesses the getters methods and the created setters and whether you have urged the object (lancamento lancamento = New Lancamento();). I hope I’ve helped!
– Leo Lousa
Leo thanks by force, as I am studying I spent hours trying to find what could be there I simply closed the eclipse and opened dinovo and it worked out, believe me, I do not know if it was some conflict or such am new in java ai at first is difficult, but vlw by force.
– ROBSON CESAR
Clean up your project,
maven install
and thenupdate maven project
.– Roknauta