So, I took a fresh start with seam-gen's tutorial this morning. I followed the
tutorial steps; got the same jboss-seam.jar not found and followed japplicoon's
suggestion with application.xml & properties. Here's what worked for me:
1. In sampleEJB > J2EE Module Dependencies select both jboss-seam.jar &
jbpm-3.1.2.jar
2. In sample > EarContent>META-INF>application.xml, remove:
jboss-seam.jar
jbpm-3.1.2.jar
3. Deploy and look at the sample.ear. It should now contain the two JAR files
mentioned above and be 1.38MB.
Now, the server starts up for me; however, when I go to
http://localhost:8080/sample/ I get the following error:
09:17:17,859 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build:
CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 59s:672ms
| 09:17:44,015 INFO [Events] no events.xml file found
| 09:17:44,250 INFO [STDOUT] SHELLFLOW METHOD HIT!!!
| 09:17:44,265 ERROR [ExceptionInterceptor] redirecting to debug page
| java.lang.ClassCastException:
org.jboss.seam.example.pageflow.SimpleFlow$$EnhancerByCGLIB$$66779c68
| at org.jboss.seam.core.Pageflow.instance(Pageflow.java:65)
| at
org.jboss.seam.interceptors.ConversationInterceptor.beginNavigation(ConversationInterceptor.java:210)
| at
org.jboss.seam.interceptors.ConversationInterceptor.beginConversation(ConversationInterceptor.java:196)
| at
org.jboss.seam.interceptors.ConversationInterceptor.beginConversationIfNecessary(ConversationInterceptor.java:128)
| at
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:61)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978336#3978336
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978336
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user