1)
It means this boy likes you, too. Although you don't realize it, your subconscious has realized it and conveyed it to you in your dreams. The subconscious is very keen, and he may find signs of liking you from all kinds of small details.
2) Maybe you really like him. Have you ever imagined that he confessed to you during the day, or that you were together and your dreams were restored?