hi . i try a simple application jsf CRUD with 2 entity .
When i try to insert a entity i get the following exception :

Caused by:
java.lang.IllegalArgumentException - object is of type java.lang.String;
expected type: 


object is of type java.lang.String; expected type: mauro.entity.Heart

viewId=/body/Create.xhtml
location=/home/utente_javaee7/NetBeansProjects/progetti_nuovnetbeans/Study_relations_JPA/build/web/body/Create.xhtml
phaseId=RENDER_RESPONSE(6)

Caused by:
java.lang.IllegalArgumentException - object is of type java.lang.String;
expected type: mauro.entity.Heart
at
mauro.jsf.HeartController$HeartControllerConverter.getAsString(HeartController.java:225)

how resolve???????


read at :
http://pastebin.com/rsFJes66

tank you mauro



--
View this message in context: 
http://myfaces.10567.n7.nabble.com/java-lang-IllegalArgumentException-object-is-of-type-java-lang-String-expected-type-mauro-entity-Heat-tp116991.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to