[jboss-user] [JBoss Seam] - ant seam-gen created project.

marius.oancea do-not-reply at jboss.com
Tue Oct 2 03:17:22 EDT 2007


I just created a new project with seam-gen cmd line utility (seam 2.0 beta).

All is ok except the following:

When I use @Stateless or @Statefull on a component i got:
18:35:09,281 INFO  [Component] Component: mainWindow, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: test.MainWindowBean, JNDI: eptosiv/MainWindowBean/local
  | 18:35:09,281 ERROR [[/eptosiv]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.RuntimeException: Could not create Component: mainWindow
  |         at org.jboss.seam.init.Initialization.addComponent(Initialization.java:9
  | 55)
  |         at org.jboss.seam.init.Initialization.installComponents(Initialization.j
  | ava:882)
  |         at org.jboss.seam.init.Initialization.init(Initialization.java:538)
  |         at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j
  | 
  | 

Any ideea how to get rif of that?

I deploy on jboss 4.2 using ant deploy.

I tried seam restart and does not work.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090500#4090500

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090500



More information about the jboss-user mailing list