Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not instantiate Seam component: motorcycleCategService Problem
 
Similar Threads
Seam: Misterious ClassCastExceptions during EJB use
problem with <h:selectOneMenu component --- javax.el.PropertyNotFoundException:
hibernate exception thrown from @Factory method
problem with <h:selectOneMenu component --- identifier 'motorcycleCat' resolved to null
Could not instantiate Seam component