No I don't think this is expected behavior but a bug. On Wed, Feb 3, 2016 at 8:01 PM, Maheeka Jayasuriya <mahe...@wso2.com> wrote:
> Hi Rajjaz, > > Yes it is an issue with dependencies. The issue is when deploying a > connector with a car file. Is this the expected behavior to deploy libs > manually when the connectors are packaged with a car file? > > Thanks, > Maheeka > > > > > On Wed, Feb 3, 2016 at 7:06 PM, Rajjaz Mohammed <raj...@wso2.com> wrote: > >> Hi maheeka, >> its seems to be like class not found exceptions, so add dependency >> jars[1] inside the lib folder. or if you can get through build the Google >> Contacts connector and get jars from inside *target/connector/dependencies >> .* >> >> [1] >> jsr305-1.3.7.jar >> jackson-core-2.1.3.jar >> guava-13.0.1.jar >> google-oauth-client-1.17.0-rc.jar >> google-http-client-jackson2-1.17.0-rc.jar >> google-http-client-1.17.0-rc.jar >> google-api-client-1.17.0-rc.jar >> core-1.47.1.jar >> commons-email-1.2.jar >> >> On Wed, Feb 3, 2016 at 6:02 PM, Maheeka Jayasuriya <mahe...@wso2.com> >> wrote: >> >>> Hi , >>> >>> I am getting an error when enabling Google Contacts connector with ESB >>> 4.9.0. Following is the stack trace. >>> >>> Caused by: java.lang.NoClassDefFoundError: >>> com/google/api/client/http/HttpTransport >>> at java.lang.Class.getDeclaredConstructors0(Native Method) >>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532) >>> at java.lang.Class.getConstructor0(Class.java:2842) >>> at java.lang.Class.newInstance(Class.java:345) >>> at >>> org.apache.synapse.config.xml.ClassMediatorFactory.createSpecificMediator(ClassMediatorFactory.java:112) >>> at >>> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:94) >>> at >>> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:224) >>> at >>> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:46) >>> at >>> org.apache.synapse.config.xml.TemplateMediatorFactory.createSpecificMediator(TemplateMediatorFactory.java:61) >>> at >>> org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:94) >>> at >>> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:224) >>> at >>> org.apache.synapse.libraries.model.LibraryArtifact$TemplateArtifactFile.build(LibraryArtifact.java:190) >>> at >>> org.apache.synapse.libraries.model.LibraryArtifact.loadComponentsInto(LibraryArtifact.java:100) >>> at >>> org.apache.synapse.libraries.model.SynapseLibrary.loadLibrary(SynapseLibrary.java:144) >>> at >>> org.apache.synapse.libraries.model.SynapseLibrary.loadLibrary(SynapseLibrary.java:129) >>> at >>> org.apache.synapse.libraries.util.LibDeployerUtils.loadLibArtifacts(LibDeployerUtils.java:340) >>> at >>> org.wso2.carbon.mediation.library.service.MediationLibraryAdminService.addImport(MediationLibraryAdminService.java:100) >>> at >>> org.wso2.carbon.mediation.library.service.MediationLibraryAdminService.addImport(MediationLibraryAdminService.java:124) >>> at >>> org.wso2.carbon.mediation.library.service.MediationLibraryAdminService.updateStatus(MediationLibraryAdminService.java:436) >>> ... 126 more >>> Caused by: java.lang.ClassNotFoundException: Class Not found : >>> com.google.api.client.http.HttpTransport >>> at >>> org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:92) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >>> at >>> org.apache.axis2.deployment.DeploymentClassLoader.loadClass(DeploymentClassLoader.java:273) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >>> ... 145 more >>> >>> Thanks, >>> Maheeka >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thank you >> Best Regards >> >> *Rajjaz HM* >> Associate Software Engineer >> WSO2 Inc. <http://wso2.com/> >> lean | enterprise | middleware >> Mobile | +94752833834 >> Email | raj...@wso2.com >> LinkedIn | Blogger | WSO2 Profile >> <http://wso2.com/about/team/mohammer_rajjaz/> >> > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> https://store.wso2.com/store/ Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev