Code from 'Oracle WebCenter Analytics Development Guide' causes a java.lang.NoClassDefFoundError (Doc ID 1184716.1)

Last updated on JANUARY 03, 2017

Applies to:

Oracle WebCenter Analytics - Version 10.3.0 and later
Information in this document applies to any platform.

Symptoms

You have followed the Oracle WebCenter Analytics Development Guide, but encountered the following error running the code in the section entitled 'Raising Analytics Events from a Custom Application':

java.lang.reflect.InvocationTargetException 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
... 
Caused by: java.lang.NoClassDefFoundError: 
com/plumtree/xpshared/config/ConfigPathResolver 
at com.plumtree.analytics.openusage.impl.ASEventImpl.getPortal6ConfigDir(Unknown Source) 
at com.plumtree.analytics.openusage.impl.ASEventImpl.loadConfig(Unknown Source) 
at com.plumtree.analytics.openusage.impl.ASEventImpl.loadConfig(Unknown Source) 
at com.plumtree.analytics.openusage.impl.ASEventImpl.sendEvent(Unknown Source) 
at com.plumtree.analytics.openusage.ASEventDelegate.sendEvent(Unknown Source) 
... 68 more 
Caused by: java.lang.ClassNotFoundException: 
com.plumtree.xpshared.config.ConfigPathResolver

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms