日期:2014-05-19  浏览次数:20862 次

高手来看,运行seam3例子时遇到的错误,还有一个100分的贴一起结贴
我是按照如下帖子做的:

这个帖子的地址是:http://seam.group.iteye.com/group/topic/25599

这三步都成功了
mvn dependency:tree
mvn clean package
mvn jboss:hard-deploy 

然后发现  seam-booking.war.failed 失败了

这是日志,帮我看看
17:56:08,734 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named EjbSynchronizations in deployment unit subdeployment "jboss-seam.jar" of deployment "jboss-seam-registration.ear" are as follows:

java:global/jboss-seam-registration/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
java:app/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
java:global/jboss-seam-registration/jboss-seam/EjbSynchronizations
java:app/jboss-seam/EjbSynchronizations
java:module/EjbSynchronizations

17:56:08,734 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit subdeployment "jboss-seam.jar" of deployment "jboss-seam-registration.ear" are as follows:

java:global/jboss-seam-registration/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
java:app/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
java:global/jboss-seam-registration/jboss-seam/TimerServiceDispatcher
java:app/jboss-seam/TimerServiceDispatcher
java:module/TimerServiceDispatcher

17:56:08,750 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named RegisterAction in deployment unit subdeployment "jboss-seam-registration.jar" of deployment "jboss-seam-registration.ear" are as follows:

java:global/jboss-seam-registration/jboss-seam-registration.jar/RegisterAction!org.jboss.seam.example.registration.Register
java:app/jboss-seam-registration.jar/RegisterAction!org.jboss.seam.example.registration.Register
java:module/RegisterAction!org.jboss.seam.example.registration.Register
java:global/jboss-seam-registration/jboss-seam-registration.jar/RegisterAction
java:app/jboss-seam-registration.jar/RegisterAction
java:module/RegisterAction

17:56:09,781 信息    [javax.servlet.ServletContextListener] (MSC service thread 1-1) Welcome to Seam null
17:56:10,937 WARN  [org.jboss.modules] (MSC service thread 1-1) Failed to define class org.jboss.seam.faces.DateConverter in Module "deployment.jboss-seam-registration.ear.jboss-seam.jar:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/faces/DateConverter (Module "deployment.jboss-seam-registration.ear.jboss-seam.jar:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoad