• 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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'

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!