Problem with Mapping of webModuleApplicationContext.xml

So I created the follwoing bean for my new OpenMRS module.


But it seems that it is just kind of working. Cause always the follwoing warning occurs:

So unfortunately there is a mapping because there is no error that the mapping is wrong or so… but it seems like it just cannot be processed…

The RequestMapping looks as follows:

@RequestMapping(value = “module/deviceconnector/deviceconnector.list”) public class DeviceconnectorController {​​

protected final Log log = LogFactory.getLog(getClass());

@Autowired UserService userService;

private final String VIEW = “/module/${​​rootArtifactid}​​/${​​rootArtifactid}​​”;

@RequestMapping(value = “/”, method = RequestMethod.GET) public String onGet() {​​ //log.debug(“Test controller”); return VIEW; }​​