WSO2, SPRING, HIBERNATE ANNOTATIONS.

favalo's picture
Hi All, I am trying to deploy a aar file, with Spring and hibernate annotations inside. My services.xml file looks like this: <?xml version="1.0" encoding="UTF-8"?> org.wso2.wsas.admin.service.spring.GenericApplicationContextSupplier applicationContext.xml services urn:save and my applicationContext.xml file looks like this: <?xml version="1.0" encoding="UTF-8"?> org.hibernate.cfg.AnnotationConfiguration com.....Provider org.hibernate.dialect.PostgreSQLDialect true true create org.postgresql.Driver jdbc:postgresql://localhost:5432/saas saas saaspwd but I am getting this error. Can anybody help me, please? Error: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:151) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:324) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110) at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144) ... 12 more Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:431) at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) ... 14 more Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:394) ... 15 more Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:136) at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:485) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:386) ... 15 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis2.deployment.util.Utils$16.run(Utils.java:491) at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132) ... 17 more Caused by: org.apache.axis2.AxisFault: Error creating bean with name 'consumidorServicios' defined in resource loaded through InputStream: Cannot resolve reference to bean 'saasFacade' while setting bean property 'saasFacade'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saasFacade' defined in resource loaded through InputStream: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in resource loaded through InputStream: Invocation of init method failed; nested exception is java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)V from class org.hibernate.cfg.ExtendedMappings at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.wso2.wsas.admin.service.util.GenericApplicationContextUtil.getSpringApplicationContextClassPath(GenericApplicationContextUtil.java:76) at org.wso2.wsas.admin.service.spring.GenericApplicationContextSupplier.getServiceObject(GenericApplicationContextSupplier.java:45) ... 23 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consumidorServicios' defined in resource loaded through InputStream: Cannot resolve reference to bean 'saasFacade' while setting bean property 'saasFacade'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saasFacade' defined in resource loaded through InputStream: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in resource loaded through InputStream: Invocation of init method failed; nested exception is java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)V from class org.hibernate.cfg.ExtendedMappings at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1172) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:940) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:437) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:400) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:736) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369) at org.wso2.wsas.admin.service.util.GenericApplicationContextUtil.getSpringApplicationContextClassPath(GenericApplicationContextUtil.java:74) ... 24 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saasFacade' defined in resource loaded through InputStream: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in resource loaded through InputStream: Invocation of init method failed; nested exception is java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)V from class org.hibernate.cfg.ExtendedMappings at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1172) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:940) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:437) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) ... 39 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in resource loaded through InputStream: Invocation of init method failed; nested exception is java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)V from class org.hibernate.cfg.ExtendedMappings at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1260) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:438) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) ... 51 more Caused by: java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)V from class org.hibernate.cfg.ExtendedMappings at org.hibernate.cfg.ExtendedMappings.(ExtendedMappings.java:69) at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.java:182) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:272) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:997) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:673) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1257) ... 60 more Thanks in advance!!! I hope for your response.... Favalos.
after_thought's picture

me too, please help

I'm getting this as well. Did you ever figure this out? Anyone from wso2 have any insight?
afkham_azeez's picture

What is the server you are

What is the server you are using? WSAS or Axis2? What version? Can you attach your AAR file/other artifacts so that we can deploy and debug the error? If you cannot post it on this public forum, please mail them to me at azeez AT WSO2 DOT com Regards Afkham Azeez
after_thought's picture

aar attached

This is in wsas, version 3.1.0. This is my most recent AAR. (had to zip up the src instead. mvn clean install then run the aar goal from the axis plugin) It has a few "hacks" in it right now, as I've been debugging through issues, but it should illustrate the issue. I've been researching how axis2, class loading, and osgi works. My guess as to what is happening is this: Axis is deploying the aar. I can't tell from docs if a bundle is automatically created for the aar or, if it is running in the context of an axis2 bundle. But either way the class loader is loading spring and hibernate from the wsas WEB_INF/plugins/common or repository/components/plugins. I'm following the axis2/spring integration guide and using the axis2 provided service classloader when loading the spring context. 1. Removing the wso2 hibernate jar/bundle from those two folders gets passed the error that the original poster found. (not sure what that breaks, but... just a test) 2. Now that it loads hibernate from my aar, I get a classnotfound exception from spring. It can't find the aop.TargetSource class. I believe that this is because the wso2 spring jar/bundle only exports org.springframework.*. It would also need to export org.aopalliance.* I just confirmed this by packaging another version of the wso2 spring bundle that exports org.aopalliance.*. So, I think what I need to figure out is this: 1. Is it possible to have the AAR totally isolated, even from classes already loaded by axis2? 2. If not, is it acceptable to rebundle wso2 orbit bundles that provide the dependencies I need in spring and hibernate? 3. Or, should we be developing our services as bundles themselves? Has wso2 already implemented an osgi/bundle deployer for axis2? Or would I need to use the axis2 BundleActivator to register services? #1 is my desired solution. osgi looks nice and all, but it seems like that should be transparent to be as a services developer. Thanks, Chuck
after_thought's picture

thoughts?

I understand if you haven't had time to test out the code I sent, but do you have any thoughts on how I should evaluate options 1-3? Thanks, Chuck
afkham_azeez's picture

Dependency not found build error

I'm getting the following error when I do an online build of the eip project Missing: ---------- 1) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.edo:eip:war:1.0 2) opensymphony:oscache:jar:2.4 3) javax.jms:jms:jar:1.1 What do I need to do to proceed? I'm on Sun JDK 1.6 Regards Afkham Azeez
after_thought's picture

maybe just address my question instead?

I'm wondering if you actually need to run the app to give me insight on these 3 options? 1. Is it possible to have the AAR totally isolated, even from classes already loaded by axis2? 2. If not, is it acceptable to rebundle wso2 orbit bundles that provide the dependencies I need in spring and hibernate? 3. Or, should we be developing our services as bundles themselves? Has wso2 already implemented an osgi/bundle deployer for axis2? Or would I need to use the axis2 BundleActivator to register services? I'd really appreciate some input on this.... I can't post the current version of the project, but without giving it too much though, I would guess adding something like this to the pom would help: geronimo-spec geronimo-spec-jta 1.0.1B-rc4
mhumphre.ctr.dtic.mil's picture

Same issue

I have this problem also and have not found any solution. I have a Spring-Hibernate (with annotations) application that I need to make accessible as a web service using Axis2 on WSO2 WSAS. I have followed all the instructions for making the service classloader available to Spring (which does work) and Spring can find its jars in the lib and the app context files on the classpath in the .arr/lib folder. But I continue to get the following error from Hibernate: Caused by: java.lang.IllegalAccessError: tried to access method org.hibernate.cf g.Mappings.(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lj ava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/ hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/ util/List;Ljava/util/Map;Ljava/util/Map;)V from class org.hibernate.cfg.Extended Mappings at org.hibernate.cfg.ExtendedMappings.(ExtendedMappings.java:65) I cannot use the Spring-Hibernate mappingLocations solution because I don't use .hbm.xml files. If I deploy my app into ${wso2wsas.home}/lib it runs fine, but I cannot use that solution. I am very interested in suggestions or advice--this has been a real show-stopper.
after_thought's picture

what we are doing

We haven't heard from wso2 yet. But, here is what we did. Simply remove the wso2 hibernate jar from the repository. At first I assumed that this was a bad idea (and maybe it still is), but we actually are combining esb and wsas using carbon and I realized that esb does NOT have the hibernate bundle dependency. Considering that wsas seems to still work and that esb didn't use it anyway, I'm assuming that the hibernate bundle was there either erroneously or to support the CHAD sample. I haven't fully implemented our use of Registry yet, so I'm still prepared to discover that the hibernate bundle is in fact needed. Chuck
mhumphre.ctr.dtic.mil's picture

tried also

I previously tried removing hibernate jars from WSAS 3.1.1 repository/lib (and various other combinations of jars) with no effect. I see now in WSAS/lib there is aopalliance-1.0.jar that duplicates org.aopalliance classes. This link http://www.codeweblog.com/ssh-error-integration-solutions/ recommends removing them, but that still had no effect for me.
after_thought's picture

other spots

It's also in plugins and under the webapps/../../plugins/common. If you want to "start clean" so to speak, you can use this article as a guide and add the service hosting feature to a blank carbon install. https://www.wso2.org/wiki/display/carbon/p2-based-provisioning-support. Doing this, you don't get the hibernate bundle. I did this, but started with ESB and added service hosting. Chuck
mhumphre.ctr.dtic.mil's picture

Still not working

I tried removing all duplicate jars but got the same error. I don't really have the luxury of reconfiguring WSAS because my app is to be deployed in a production server elsewhere. Anyway, if I did have control over it, I'd just dump the jars into ${wso2wsas.home}/lib because that definately works. I tried using WSO2 Spring Beans directly as well as unpacking all jars, but I still get IllegalAccessError.
after_thought's picture

is something cached?

What hung me up a LOT was things being cached. Maybe do a file search to make sure that no instances are hidden anywhere first. Then, what I did to start clean was run wso2server.bat --reset. There are a few commands like reset defined in the bat/sh file. Chuck
mhumphre.ctr.dtic.mil's picture

Got it working

Ok, I've been able to get it to work. A collegue found this link http://amilachinthaka.blogspot.com/2009/10/axis2-class-loading.html which suggests setting the parameter EnableChildFirstClassLoading to true. I'm using WSO2WSAS 3.1.1 and it didn't work when I placed it into axis2.xml but it did work when placed into services.xml. No special classloading or SpringInit or anything was needed. On the down side, this caused MTOM (raw binary attachments) to stop working. Normally, the method parameters of type DataHandler become xs:base64Binary in the WSDL. When the flag is set, however, they mutate into xs:anyType and the binary data is not accepted with an InstantiationException on the javax.activation.DataHandler. It seems that hidden conflicts may cause different classes to be used to generate the wsdl. I have been able to fix this problem by going back to the SpringInit technique of forcing the service to have a composite classloader and placing it into the TCCL and into Spring itself, as described in this link: https://svn.wso2.com/~thilina/axis2fullsite/1_1/pojoguide.html or https://svn.apache.org/repos/asf/webservices/axis2/branches/java/post-1.1-trunk/xdocs/1_1/spring.html My MTOM-based services run correctly directly from their aars.
after_thought's picture

how?

How did you make it work? When I try the child first param, I get class cast errors.
mhumphre.ctr.dtic.mil's picture

Sift the errors

The class cast error results from the same class being loaded by 2 different classloaders (aar and the system) effectively treating it as two different classes. The flag changes the order in which classes are loading so some common classes in your aar that were previously ignored are now supplanting or conflicting with ones provided by the system. Make sure your aar does not duplicate jars already on the classpath, especially ones likely to be used by the system. Commons-logging was one that gave me problems.
after_thought's picture

hmm

I'll have to go through them one by one. I had tried removing the axis jars already due to this error: [2009-11-23 14:02:56,702] INFO - The test service, which is not valid, caused java.lang.ClassCastException: org.apache.axis2.classloader.JarFileClassLoader ca nnot be cast to org.apache.axis2.deployment.DeploymentClassLoader Thanks though for the input.
after_thought's picture

good news

The class cast error threw me off. I was assuming it was what you described. I looked at the code though and realized that the Jar loader can't cast to the deployment loader. So, I looked at the code a bit more and then realized that the class loader might be different for AAR vs. exploded AAR. Of course, i'd been testing out with exploded. We'll be doing externalized configuration, so our plan had been for exploded deployments. We'll have to revisit that plan. Hopefully wso2 can take note of the regression. If I have time (so far behind now), I'll come back later and create a ticket. thanks, chuck
dineshjweerakkody's picture

ClassDefFoundError for org/hibernate/cfg/AnnotationConfiguration

Hi, I'm developing an application with WSAS + Spring + Hibernate(annotation). when I'm going to deploy application.jar and applicationContext.xml as spring service, WSAS gives me NoClassDefFoundError exception. nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/AnnotationConfiguration at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1172) I have put all required jar files under wso2wsas\repository\components\lib directory. Please help me to solve this issue.
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)