The Lord appeared to Solomon - This was a second manifestation; see Kg1 9:2-9 (note), and the notes there. The Targum says, "The Word of the Lord appeared to Solomon."