ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java.lang.NoClassDefFoundError:

Post new topic  Reply to topic
 java.lang.NoClassDefFoundError: « View previous topic :: View next topic » 
Author Message
anilmekala
PostPosted: Wed Mar 02, 2016 7:55 am    Post subject: java.lang.NoClassDefFoundError: Reply with quote

Acolyte

Joined: 19 Oct 2012
Posts: 63

Hi Experts,

As pert of my requirement i need to publish message in Amazon aws sqs uisng IIB and ESQL.


I am facing one issue while calling amazon aws. I have updated required *.jar file in build path.

java.lang.NoClassDefFoundError: com.amazonaws.services.sqs.AmazonSQSClient (initialization failure)

I tried couple of time restart by toolkit and redeployed flow couple of time.

please help me how to resolve this issue.

Regards,

Anil.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 02, 2016 8:16 am    Post subject: Re: java.lang.NoClassDefFoundError: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

anilmekala wrote:
Hi Experts,

As pert of my requirement i need to publish message in Amazon aws sqs uisng IIB and ESQL.


I am facing one issue while calling amazon aws. I have updated required *.jar file in build path.

java.lang.NoClassDefFoundError: com.amazonaws.services.sqs.AmazonSQSClient (initialization failure)

I tried couple of time restart by toolkit and redeployed flow couple of time.

please help me how to resolve this issue.

Regards,

Anil.

You are probably missing the amazon aws jar files.
Create a project, in that project put the aws jar files, reference it from your flow. Deploy.
Let us know how it went
Alternatively you could use a java configurable class loader service
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
anilmekala
PostPosted: Thu Mar 03, 2016 5:00 am    Post subject: Reply with quote

Acolyte

Joined: 19 Oct 2012
Posts: 63

Hi,

Thanks for your reply.

I have created java project tested code with main method its giving valid response.

When i reference java project with message flow project am getting below
exception

java.lang.NoClassDefFoundError: com.amazonaws.services.sqs.AmazonSQSClient (initialization failure)

Please help me did i miss any others.


Regards,

Anil.
Back to top
View user's profile Send private message
ganesh
PostPosted: Fri Mar 04, 2016 11:35 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

Did you try what fjb_saper mentioned ?
Quote:
Create a project, in that project put the aws jar files, reference it from your flow
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java.lang.NoClassDefFoundError:
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.