I have a module that seems to work fine with spark components in it but when I try to load my own it gives me this error.
Error: Could not resolve <views:DisplayList> to a component implementation.
Here is the code:
<?xml version="1.0" encoding="utf-8"?>
<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:views="views.*"
width="400" height="300"
>
<views:DisplayList width="100%" height="100%"/>
</s:Module>
I did four things
One of those fixed it. I think Project > Clean. If it happens again I’ll refine this answer.
UPDATE:
Running Project > Clean > Clean all Projects worked (while selecting only Clean current project did not).