aspose file tools*
The moose likes JSF and the fly likes Could not instantiate Seam component: motorcycleCategService Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Could not instantiate Seam component: motorcycleCategService Problem" Watch "Could not instantiate Seam component: motorcycleCategService Problem" New topic
Author

Could not instantiate Seam component: motorcycleCategService Problem

Giannis nasdades
Greenhorn

Joined: Feb 27, 2009
Posts: 10
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:
 
 
subject: Could not instantiate Seam component: motorcycleCategService Problem