# Structs.xml does not contain xwork package definition present in atlassian-xml

**URL:** <https://community.developer.atlassian.com/t/structs-xml-does-not-contain-xwork-package-definition-present-in-atlassian-xml/18077>\
**Category:** Bamboo Development\
**Tags:** bamboo-server\
**Created:** [May 3, 2018, 11:14am UTC](https://community.developer.atlassian.com/t/structs-xml-does-not-contain-xwork-package-definition-present-in-atlassian-xml/18077 "2018-05-03T11:14:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kshi.korde](https://avatars.discourse-cdn.com/v4/letter/k/5fc32e/32.png) [@kshi.korde](https://community.developer.atlassian.com/u/kshi.korde)\
**Post date:** [May 3, 2018, 11:14am UTC](https://community.developer.atlassian.com/t/structs-xml-does-not-contain-xwork-package-definition-present-in-atlassian-xml/18077/1 "2018-05-03T11:14:50Z")

</div>

Hi,  
This is a follow up question for the below problem that I am facing. Reason begin the action is not mapped for bamboo /build/result namespace (bcoz it is not present in structs.xml)

> **[What does the error mean "There is no Action mapped for namespace...](https://community.atlassian.com/t5/Bamboo-questions/What-does-the-error-mean-quot-There-is-no-Action-mapped-for/qaq-p/787278)**
>
> Hi, Need some help, I have spent quite a bit of time on this apparently simple part of plugin development. My Atlassian plugin xml has the below. Also, I have the action class RobotReportDetails extended from ViewBuildResults. public class...

Should the meta-data in atlassian-plugin.xml be put into appropriate file after atlas-clean → atlas-run ?

---

<div class="post-metadata">

**Author:** ![kshi.korde](https://avatars.discourse-cdn.com/v4/letter/k/5fc32e/32.png) [@kshi.korde](https://community.developer.atlassian.com/u/kshi.korde)\
**Post date:** [May 4, 2018, 8:38am UTC](https://community.developer.atlassian.com/t/structs-xml-does-not-contain-xwork-package-definition-present-in-atlassian-xml/18077/2 "2018-05-04T08:38:53Z")

</div>

I found what the problem was,  
I looked at the logs and could see the below  
“[INFO] [talledLocalContainer] 2018-05-03 13:30:07,737 ERROR [localhost-startStop-1] [BambooPluginUtils] A problem has occurred when instantiating action class [isode.robot.RobotReport], skipping action [viewRobotReport]  
[INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘isode.robot.RobotReport’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.atlassian.bamboo.storage.StorageLocationService com.atlassian.bamboo.build.ViewBuildResults.storageLocationService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.atlassian.bamboo.storage.StorageLocationService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}”

# I fixed it by doing

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport;  
import com.atlassian.plugin.spring.scanner.annotation.component.Scanned;

@Scanned  
public class RobotReport extends ViewBuildResults {

```
public RobotReport(@ComponentImport StorageLocationService storageLocationService){
}  

```

=================================================================
