[Plugin] the plugin can't run in confluence 8.5.8, it can run in 7.19.16 and 8.5.0
Asked by Sc GPS:

Hi team,

There is a plugin successfully installed in confluence 7.19.16, and the configure.url can call correct page. But the plugin can't use configure.url to call correct page(Page Not Found) in confluence 8.5.8.

The plugin can run successfully in 8.5.0.

The \<param name="configure.url"\>/admin/plugins/collector_search/collector-search-configure.action\</param\> can't visit the /admin/plugins/collector_search/collector-search-configure.action page(Page Not Found) in confluence 8.5.8.

My pom.xml

```
<dependency>
<groupId>com.atlassian.confluence.compat</groupId>
<artifactId>confluence-compat-lib</artifactId>
<version>1.5.1</version>
</dependency>
?
<properties>
<confluence.version>8.5.8</confluence.version>
<confluence.data.version>8.5.8</confluence.data.version>
<amps.version>8.10.1</amps.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<amps.version>8.1.2</amps.version>
<plugin.testrunner.version>2.0.2</plugin.testrunner.version>
<osgi.javaconfig.version>0.2.0</osgi.javaconfig.version>
<spring.version>4.2.5.RELEASE</spring.version>
<!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle's key. -->
<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

```

My atlassian-plugin.xml

```
<!-- add our i18n resource -->
<resource location="collector_search" name="i18n" type="i18n"/>

<!-- add our web resources -->
<web-resource key="collector_search-resources" name="collector_search Web Resources">
<context>collector_search</context>

<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource location="/js/collector_search.js" name="collector_search.js" type="download"/>
<resource location="/images" name="images/" type="download"/>

<resource location="/css/collector_search.css" name="collector_search.css" type="download"/>
</web-resource>

<servlet-filter class="com.collector.atlassian_plugins.confluence.impl.CollectorSearchServletFilter"
key="collectorSearchServletFilter">
<description>Updates Collector ranking signals based on URLs visited.</description>
<url-pattern>*</url-pattern>
</servlet-filter>

<rest key="collectorSearchConfigRest" path="/collector_search" version="1.0">
<description>Provides Collector Search plugin configuration endpoint.</description>
</rest>

<xwork key="collector-search-config-action" name="Collector Search Config Action">
<package extends="default" name="Collector Search Config Action Package"
namespace="/admin/plugins/collector_search">
<action class="com.collector.atlassian_plugins.confluence.impl.CollectorSearchConfigAction"
method="doDefault" name="collector-search-configure">
<interceptor-ref name="defaultStack"/>
<result name="input" type="velocity">/vm/configure.vm</result>
</action>
<action class="com.collector.atlassian_plugins.confluence.impl.CollectorSearchConfigAction"
method="execute" name="collector-search-do-configure">
<interceptor-ref name="validatingStack"/>
<param name="RequireSecurityToken">true</param>
<result name="success" type="velocity">/vm/configure.vm</result>
<result name="error" type="velocity">/vm/configure.vm</result>
</action>
</package>
</xwork>
</atlassian-plugin>
```

Thanks!


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Sc GPS](/t5/user/viewprofilepage/user-id/254880) ,

could you please check if your plugin is enabled?

Fabio


Tags: confluence-data-center

data-center