| Summary: | Petclinic deployment missing org.springframework.util.Version | ||
|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Karel Piwko <kpiwko> |
| Component: | Spring | Assignee: | Marius Bogoevici <mariusb> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Karel Piwko <kpiwko> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0.0.DR4 | CC: | rnewton, rruss |
| Target Milestone: | --- | ||
| Target Release: | 2.0.0.ER3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-05 14:01:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Please test if still an issue Verified in 2.0.0.ER3. |
Description of problem: Petclinic application cannot be deployed. Version-Release number of selected component (if applicable): WFK 2 DR04 EAP 6 DR06 consolidated-wfk-examples commit 2e8672bbdca98905f512dfe1a737228d80bfdbe5 How reproducible: Steps to Reproduce: 1. Build with WFK2 repositories enabled [kpiwko@kapy-ntb petclinic]$ wfk2maven clean package -Peap /opt/apache-maven-3.0.3/bin/mvn -s /home/kpiwko/devel/wfk/wfk-qa/build/configuration/target/settings.xml -DCONTAINER=eap6 -DFRAMEWORK=spring-3 -DFRAMEWORK2= -DLABEL=selenium-ff3-rhel6-x86_64 -Dframework.container.matrix=spring-3-eap6 -Darch.framework.matrix=selenium-ff3-rhel6-x86_64-spring-3 -Darch.container.matrix=selenium-ff3-rhel6-x86_64-eap6 clean package -Peap 2. Deploy to EAP 6 with Snowdrop module from WFK2 DR04 Actual results: Deployment fails with: ./jboss-eap-6.0/bin/standalone.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/kpiwko/devel/wfk/jboss-eap-6.0 JAVA: /opt/jdk1.6.0_27/bin/java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true ========================================================================= 19:37:36,917 INFO [org.jboss.modules] JBoss Modules version 1.1.0.CR2-redhat-1 19:37:37,497 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA-redhat-1 19:37:37,562 INFO [org.jboss.as] JBoss EAP 6.0.0.Alpha2 (AS 7.1.0.Alpha1-redhat-1) starting 19:37:39,040 WARN [org.jboss.as] No security realm defined for native management service, all access will be unrestricted. 19:37:39,046 INFO [org.xnio] XNIO Version 3.0.0.Beta8 19:37:39,064 INFO [org.jboss.as] creating http management service using network interface (management) port (9990) 19:37:39,066 WARN [org.jboss.as] No security realm defined for http management service, all access will be unrestricted. 19:37:39,075 INFO [org.jboss.as.logging] JBAS011501: Removing bootstrap log handlers 19:37:39,100 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta5-redhat-1 19:37:39,158 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.2) 19:37:39,205 INFO [org.jboss.as.cmp.subsystem.CmpSubsystemAdd] (Controller Boot Thread) Activating EJB CMP Subsystem 19:37:39,210 INFO [org.jboss.as.clustering] (Controller Boot Thread) JBAS010300: Activating Infinispan subsystem. 19:37:39,264 INFO [org.jboss.as.jacorb] (Controller Boot Thread) Activating JacORB Subsystem 19:37:39,377 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem 19:37:39,381 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service 19:37:39,382 INFO [org.jboss.as.mail.extension.MailSessionAdd] (MSC service thread 1-2) Bound mail session [java:jboss/mail/Default] 19:37:39,385 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem 19:37:39,393 WARN [org.jboss.as] (Controller Boot Thread) No security realm defined for native management service, all access will be unrestricted. 19:37:39,395 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem 19:37:39,709 INFO [org.jboss.as.webservices] (Controller Boot Thread) Activating WebServices Extension 19:37:39,715 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jdk1.6.0_27/jre/lib/amd64/server:/opt/jdk1.6.0_27/jre/lib/amd64:/opt/jdk1.6.0_27/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 19:37:39,764 INFO [org.jboss.snowdrop] (Controller Boot Thread) Activating Spring Deployer subsystem 19:37:39,792 INFO [org.jboss.as.remoting] (MSC service thread 1-2) Listening on /127.0.0.1:9999 19:37:39,798 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem 19:37:39,847 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http-kapy-ntb-127.0.0.1-8080 19:37:39,848 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector 19:37:39,903 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.0.Beta6 19:37:39,918 INFO [org.jboss.as.remoting] (MSC service thread 1-3) Listening on kapy-ntb/127.0.0.1:4447 19:37:40,404 INFO [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.5.Final-redhat-1) 19:37:40,416 INFO [org.jboss.as.jacorb] (MSC service thread 1-2) CORBA ORB Service Started 19:37:40,488 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 19:37:40,780 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0/standalone/data/messagingjournal,bindingsDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0/standalone/data/messagingbindings,largeMessagesDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0/standalone/data/messaginglargemessages,pagingDirectory=/home/kpiwko/devel/wfk/jboss-eap-6.0/standalone/data/messagingpaging) 19:37:40,859 WARNING [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this. 19:37:40,871 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-3) JBAS010406: Registered connection factory java:/JmsXA 19:37:40,892 INFO [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-3) HornetQ resource adaptor started 19:37:40,893 INFO [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-3) IJ020002: Deployed: file://RaActivatorhornetq-ra 19:37:40,912 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA] 19:37:40,982 INFO [org.jboss.as.jacorb] (MSC service thread 1-1) CORBA Naming Service Started 19:37:41,237 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} kapy-ntb:5455 for CORE protocol 19:37:41,243 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} kapy-ntb:5445 for CORE protocol 19:37:41,246 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Server is now live 19:37:41,247 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) HornetQ Server version 2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121) [108e9c81-1082-11e1-86fc-525400a7d082] started 19:37:41,305 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory 19:37:41,324 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory 19:37:41,325 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.topic.testTopic 19:37:41,486 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/topic/test 19:37:41,495 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.queue.testQueue 19:37:41,524 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/queue/test 19:37:42,089 INFO [org.jboss.as.deployment] (MSC service thread 1-3) Started FileSystemDeploymentService for directory /home/kpiwko/devel/wfk/jboss-eap-6.0/standalone/deployments 19:37:42,101 INFO [org.jboss.as] (Controller Boot Thread) JBoss EAP 6.0.0.Alpha2 (AS 7.1.0.Alpha1-redhat-1) started in 5491ms - Started 140 of 204 services (61 services are passive or on-demand) 19:37:42,140 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "petclinic.war" 19:37:43,391 INFO [org.jboss.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for PetClinic 19:37:44,401 INFO [org.jboss.jpa] (MSC service thread 1-2) JBAS011402: Starting Persistence Unit Service 'petclinic.war#PetClinic' 19:37:44,604 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-2) HCANN000001: Hibernate Commons Annotations {4.0.0.CR2-redhat-1} 19:37:44,609 INFO [org.hibernate.Version] (MSC service thread 1-2) HHH000412: Hibernate Core {4.0.0.CR5-redhat-1} 19:37:44,611 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000206: hibernate.properties not found 19:37:44,612 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000021: Bytecode provider name : javassist 19:37:44,629 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH000204: Processing PersistenceUnitInfo [ name: PetClinic ...] 19:37:44,828 ERROR [org.hibernate.internal.util.xml.ErrorLogger] (MSC service thread 1-2) HHH000196: Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'. 19:37:45,026 WARN [org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader] (MSC service thread 1-2) HHH000207: Property org.springframework.samples.petclinic.Vet.specialtiesInternal not found in class but described in <mapping-file/> (possible typo error) 19:37:45,027 WARN [org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader] (MSC service thread 1-2) HHH000207: Property org.springframework.samples.petclinic.Owner.petsInternal not found in class but described in <mapping-file/> (possible typo error) 19:37:45,028 WARN [org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader] (MSC service thread 1-2) HHH000207: Property org.springframework.samples.petclinic.Pet.visitsInternal not found in class but described in <mapping-file/> (possible typo error) 19:37:45,128 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-2) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 19:37:45,283 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-2) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 19:37:45,287 WARN [org.hibernate.dialect.H2Dialect] (MSC service thread 1-2) HHH000431: Unable to determine H2 database version, certain features may not work 19:37:45,301 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-2) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory 19:37:45,304 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-2) HHH000397: Using ASTQueryTranslatorFactory 19:37:45,341 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final-redhat-1 19:37:45,693 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/petclinic]] (MSC service thread 1-1) Initializing Spring root WebApplicationContext 19:37:45,694 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Root WebApplicationContext: initialization started 19:37:45,712 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-1) Refreshing Root WebApplicationContext: startup date [Wed Nov 16 19:37:45 CET 2011]; root of context hierarchy 19:37:45,743 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/applicationContextJpa.xml] 19:37:45,826 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-1) Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/applicationContextDataSource.xml] 19:37:46,030 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] (MSC service thread 1-1) Loading properties file from class path resource [jdbc.properties] 19:37:46,033 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] (MSC service thread 1-1) Loading properties file from class path resource [jdbc.properties] 19:37:46,035 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-1) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@138a92e7: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.springframework.jdbc.datasource.init.DataSourceInitializer#0,dataSource,org.springframework.context.weaving.AspectJWeavingEnabler#0,org.springframework.context.config.internalBeanConfigurerAspect,loadTimeWeaver,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#1,entityManagerFactory,transactionManager,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.samples.petclinic.aspects.UsageLogAspect#0,clinic]; root of factory hierarchy 19:37:46,036 SEVERE [org.springframework.web.context.ContextLoader] (MSC service thread 1-1) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.weaving.AspectJWeavingEnabler#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.instrument.classloading.JBossLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:643) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) [spring-web-3.0.6.RELEASE.jar:] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) [spring-web-3.0.6.RELEASE.jar:] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.6.RELEASE.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.3.Final-redhat-1.jar:7.1.0.Alpha1-redhat-1] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.3.Final-redhat-1.jar:7.1.0.Alpha1-redhat-1] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:77) [jboss-as-web-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27] at java.lang.Thread.run(Thread.java:662) [:1.6.0_27] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.instrument.classloading.JBossLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.context.weaving.LoadTimeWeaverAwareProcessor.postProcessBeforeInitialization(LoadTimeWeaverAwareProcessor.java:95) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.0.6.RELEASE.jar:] ... 19 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.instrument.classloading.JBossLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958) [spring-beans-3.0.6.RELEASE.jar:] ... 30 more Caused by: java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.jboss.instrument.classloading.JBossLoadTimeWeaver.<init>(JBossLoadTimeWeaver.java:39) [snowdrop-weaving-2.0.0.Final.jar:] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_27] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_27] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_27] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_27] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) [spring-beans-3.0.6.RELEASE.jar:] ... 32 more Caused by: java.lang.ClassNotFoundException: org.jboss.spring.util.Version from [Module "deployment.petclinic.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143) ... 38 more 19:37:46,040 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/petclinic]] (MSC service thread 1-1) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.weaving.AspectJWeavingEnabler#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.instrument.classloading.JBossLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:643) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) [spring-web-3.0.6.RELEASE.jar:] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) [spring-web-3.0.6.RELEASE.jar:] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.6.RELEASE.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.3.Final-redhat-1.jar:7.1.0.Alpha1-redhat-1] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.3.Final-redhat-1.jar:7.1.0.Alpha1-redhat-1] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:77) [jboss-as-web-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27] at java.lang.Thread.run(Thread.java:662) [:1.6.0_27] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.instrument.classloading.JBossLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.context.weaving.LoadTimeWeaverAwareProcessor.postProcessBeforeInitialization(LoadTimeWeaverAwareProcessor.java:95) [spring-context-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.0.6.RELEASE.jar:] ... 19 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.instrument.classloading.JBossLoadTimeWeaver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74) [spring-beans-3.0.6.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958) [spring-beans-3.0.6.RELEASE.jar:] ... 30 more Caused by: java.lang.NoClassDefFoundError: org/jboss/spring/util/Version at org.jboss.instrument.classloading.JBossLoadTimeWeaver.<init>(JBossLoadTimeWeaver.java:39) [snowdrop-weaving-2.0.0.Final.jar:] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_27] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_27] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_27] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_27] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) [spring-beans-3.0.6.RELEASE.jar:] ... 32 more Caused by: java.lang.ClassNotFoundException: org.jboss.spring.util.Version from [Module "deployment.petclinic.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143) ... 38 more 19:37:46,082 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Error listenerStart 19:37:46,082 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Context [/petclinic] startup failed due to previous errors 19:37:46,099 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/petclinic]] (MSC service thread 1-1) Closing Spring root WebApplicationContext 19:37:46,101 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.web.deployment.default-host./petclinic: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./petclinic: failed to start context at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:82) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA-redhat-1.jar:1.0.1.GA-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA-redhat-1.jar:1.0.1.GA-redhat-1] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27] at java.lang.Thread.run(Thread.java:662) [:1.6.0_27] 19:37:46,306 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "petclinic.war" was rolled back with failure message {"Failed services" => {"jboss.web.deployment.default-host./petclinic" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./petclinic: failed to start context"}} 19:37:46,307 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) Service status report Services which failed to start: service jboss.web.deployment.default-host./petclinic: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./petclinic: failed to start context 19:37:46,320 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.web.deployment.default-host./petclinic" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./petclinic: failed to start context"}}}} 19:37:46,340 INFO [org.jboss.jpa] (MSC service thread 1-3) JBAS011403: Stopping Persistence Unit Service 'petclinic.war#PetClinic' 19:37:46,396 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment petclinic.war in 87ms Expected results: Application is deployed. Additional info: EAP can be obtained from http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.0-DR6/ WFK can be obtained from https://hudson.qa.jboss.com/hudson/view/WFK/view/WFK-2.0-CI/job/WFK-distribution/71/