Accessing User Directory page returns Missing Page error instead
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
When attempting to access the User Directory section from the Administrative console, an error is returned stating that the page is missing.
Environment
6.14.0 or later
Diagnosis
The atlassian-confluence.log contains entries of the following logs after attempts to access the User Directory section of the Admin Console:
2021-07-02 19:13:00,448 WARN [http-nio-8080-exec-5397] [plugin.web.springmvc.DispatcherServlet$1] refresh Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ddDispatcherFilter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [datadog.trace.instrumentation.springweb.HandlerMappingResourceNameFilter]: No default constructor found; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletResponse
-- referer: https://confluence.example.com/admin/viewgeneralconfig.action | url: /plugins/servlet/embedded-crowd/directories/list | traceId: 3eae68be31ee2b48 | userName: admin
2021-07-02 19:13:00,450 ERROR [http-nio-8080-exec-5397] [plugin.web.springmvc.DispatcherServlet] initServletBean Context initialization failed
-- referer: https://confluence.example.com/admin/viewgeneralconfig.action | url: /plugins/servlet/embedded-crowd/directories/list | traceId: 3eae68be31ee2b48 | userName: admin
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ddDispatcherFilter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [datadog.trace.instrumentation.springweb.HandlerMappingResourceNameFilter]: No default constructor found; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletResponse
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
....
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [datadog.trace.instrumentation.springweb.HandlerMappingResourceNameFilter]: No default constructor found; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletResponse
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:85)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(Abst
...
Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletResponse
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.getDeclaredConstructor(Class.java:2178)
......
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletResponse not found by org.apache.servicemix.bundles.spring-beans [8]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Cause
This is caused by an issue with the DataDog integration.
Solution
Disable the Data Dog integration by following the guidance in our Disabling and Enabling Apps. As this is a 3rd party app, you'll want to reach out to DataDog Support.