How do I fix the web item link?

So I’ve been working on the writing a space admin tutorial https://developer.atlassian.com/server/confluence/writing-a-space-admin-screen/ for the past few weeks and it still isn’t working.

I’ve managed to enable the plugin. However, now when I click “add” under “space tools” I get a page not found message. Below you will find my atlassian-plugin.xml.


<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}" />
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>

<resource type="i18n" name="i18n" location="space-links"/>

<!-- Item in Space Tools -->
<web-item key="space-admin-quick-link-manager" name="Quick Link Manager in Space Admin" section="system.space.tools/addons" weight="100">
<label key="space.admin.quick.link.manager" />
<link linkId="space-admin-quick-link-manager-id">/plugins/${project.artifactId}/add-link.action?key=$generalUtil.urlEncode($helper.spaceKey)</link>
</web-item>

<xwork name="Example Actions" key="example-actions">
<description>Examples of actions</description>
<package name="space-links-xwork-package" extends="default" namespace="/plugins/${project.artifactId}">
<default-interceptor-ref name="validatingStack"/>

<action name="add-link" class="com.atlassian.examples.MyAction" method="doCreate">
<result name="input" type="velocity">/templates/add-link-action.vm</result>
<result name="success" type="velocity">/templates/add-link-action.vm</result>
</action>

<action name="mixed" class="com.atlassian.examples.MixedAction" method="doDefault">
<result name="input" type="velocity">/templates/mixed-space-screen.vm</result>
</action>
</package>
</xwork>




</atlassian-plugin>