myeclipse-tutorial2 – CustomerBean instantiation exception

Home Forums Archived Forums MyEclipse Archived Examples On-Demand myeclipse-tutorial2 – CustomerBean instantiation exception

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of osama osama 5 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #278514

    Hi,

    I’m currently trying out several examples amongst the one in “MyEclipse ICEfaces Tutorial”.
    I followed all the steps and finally when running te example I get te following error:

    javax.faces.FacesException: java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = ‘customerDataTable’

    As this indicates to the “for” attribute in the Data Paginator component, I thought removing the Data Paginator component to make sure that the error would not be displayed again. Then I tried running the app again and this time I got the following exception:

    javax.faces.FacesException: java.lang.InstantiationException: org.icefaces.ui.CustomerBean

    I inspected the CustomerBean.java file I created and I cannot find why I get this exception . I just followed the tutorial.

    I’m using the default JDK and Tomcat engine that is built in MyEclipse Workbench Version: 6.0.1 GA Build id: 6.0.1-GA-200710 (the full installer).

    Instead of using Toplink, I used Hibernate as in one of the previous tutorials I walked through (Learn to use the Java Persistence Tools (JPA)) I got several exceptions when I used Toplink in the example. Hibernate solved it.

    Can someone explain to me why I get this error the CustomerBean instantiation exception and the first one on top of my post regarding the attribute dataScroller@for?

    In the attachement te whole example is included.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #278627

    Hi,

    Ahum, guess I am in the wrong forum. Anyway I figured out that (ahum) downloading the sources from the examples site, I got the tutorial project running.

    #305663
    Profile photo of osama
    osama
    Member

    This message has not been recovered.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Examples On-Demand’ is closed to new topics and replies.