Jsf registration of launches page

Asked

Viewed 60 times

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 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.

  • Clean up your project, maven install and then update maven project.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.