• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Could not instantiate Seam component: motorcycleCategService Problem

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI all,

I am trying to learn seam with jsf hibernate ajax by creating a simple advert application.

I used seam gen in to create a new project and generate the entity classes (i already had tables in the database).

After this i am tryign to follow the seam "hotel booking example" in the online documentation and create a new action to search for soemthjing "motorcycle category in my case".

I have an action class called MotorcycleCategImpl which holds some actions. Code below:



My entity bean is as follows:


Now i have a simple xhtml page from where i am trying to call the find method from the MotorcycleCategImpl class (as done the seam documentation roughly).

My xhtml page searchMotorcycles is as follows:

Now the problem is that as soon i try to load the above page i get the following error: Could not instantiate Seam component: motorcycleCategService

Any help would be appreciated. Find the stack trace below:
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic