Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Ehcache issue in java application which uses ehcache cache impelementation  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are using IBM Integration Bus to develop integration flows using Java spring framework. Our framework implements ehcache for caching solutions.

We are facing below error when we deploy and run the application

java.lang.NoSuchMethodError: org/ehcache/jcache/JCacheManager.ge    
tEhCacheNativeCacheManager()Lnet/sf/ehcache/CacheManager;.                


Can you guys please help would could be issue here.

The pom file is as below

<!-- For Caching -->
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>1.0.0</version>
<exclusions>

</exclusions>
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>jcache</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.6.11</version>
</dependency>




The complete error stack is as below

+BIP2230E (Msg 2/4) MQJLMBRK ARCI511 147 ERROR DETECTED WHILST PROCESSI    
NG A MESSAGE IN NODE 'ARFAL_MobilePortProtection01.FailureHandler.Tran    
sform Failure'.                                                           
+BIP4367E (Msg 3/4) MQJLMBRK ARCI511 147 THE METHOD 'evaluate' IN JAVA     
NODE 'FailureHandler.Transform Failure' HAS THROWN THE FOLLOWING EXCEP    
TION: java.lang.NoSuchMethodError: org/ehcache/jcache/JCacheManager.ge    
tEhCacheNativeCacheManager()Lnet/sf/ehcache/CacheManager;.                
+BIP4395E (Msg 4/4) MQJLMBRK ARCI511 147 JAVA EXCEPTION: 'java.lang.NoS    
uchMethodError'; THROWN FROM CLASS NAME: 'com.anz.common.cache.impl.Lo    
calCacheHandler', METHOD NAME: 'getCacheManager', FILE: 'LocalCacheHan    
dler.java', LINE: '99'

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!