1 Reply Latest reply on Feb 22, 2012 6:57 AM by 728704

    java.lang.NoClassDefFoundError: com/bea/p13n/cache/spi/CacheProvider

    728704
      Hi all,

      I am new to coherence. I have installed Weblogic Portal 10 and wanted to use coherence. I did below things:-
      1. Deployed coherence-web-spi.war as library
      2. Added coherence.jar and coherence-wlp.jar to domain\lib
      3. Added '<default-provider-id>com.tangosol.coherence.weblogic</default-provider-id>' to META-INF\p13n-cache-config.xml
      4. Added '-Dtangosol.coherence.override=C:\Oracle\Middleware\user_projects\domains\picassoNLDomain\picassoConfiguration\tangosol-coherence-override-dev.xml -Dtangosol.coherence.cacheconfig=C:\Oracle\Middleware\user_projects\domains\picassoNLDomain\picassoConfiguration\ucm-coherence-cache-config.xml -Dtangosol.coherence.servlet.lock.timeout=30s -Dtangosol.coherence.session.localstorage=false ' to setDomainEnv.cmd
      5. Started the server.

      But, I am getting below error on server startup:-
      <Feb 22, 2012 10:49:47 AM IST> <Error> <com.bea.p13n.cache.CacheFactory> <BEA-000000> <Error loading cache provider class com.tangosol.coherence.weblogic.PortalCacheProvider
      java.lang.NoClassDefFoundError: com/bea/p13n/cache/spi/CacheProvider
           at java.lang.ClassLoader.defineClass1(Native Method)

      Could you please help me with this?

      Thanks,
      Sanjeev