|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  java.lang.NoClassDefFoundError: | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | anilmekala | 
		  
		    
			  
				 Posted: Wed Mar 02, 2016 7:55 am    Post subject: java.lang.NoClassDefFoundError: | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Wed Mar 02, 2016 8:16 am    Post subject: Re: java.lang.NoClassDefFoundError: | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | anilmekala | 
		  
		    
			  
				 Posted: Thu Mar 03, 2016 5:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | ganesh | 
		  
		    
			  
				 Posted: Fri Mar 04, 2016 11:35 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |