javax.servlet.ServletException: Error while initialising ambient data framework


Solutions on the web1

Solution icon of stackexchange-tridion
Error while initialising ambient data framework

Stack trace

javax.servlet.ServletException: Error while initialising ambient data framework
	at com.tridion.ambientdata.web.AmbientDataServletFilter.init(AmbientDataServletFilter.java:138)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.tridion.util.TridionReflectionException: Unable to load request class, was not found on classpath
	at com.tridion.util.ReflectionUtil.loadClassInstanceWithTypes(ReflectionUtil.java:65)
	at com.tridion.util.ReflectionUtil.loadClassInstance(ReflectionUtil.java:103)
	at com.tridion.ambientdata.web.RequestValidatorFactory.newRequestValidator(RequestValidatorFactory.java:27)
	at com.tridion.ambientdata.web.AmbientDataServletFilter.init(AmbientDataServletFilter.java:116)
	... 12 more
Caused by: java.lang.ClassNotFoundException: com.sdl.web.oauth.validator.OAuth2RequestValidator
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at com.tridion.util.ReflectionUtil.loadClassInstanceWithTypes(ReflectionUtil.java:59)
	... 15 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
333 more bugmates