Cause of the problem, xml configuration file annotation support only <! - -> this format, other formats are top issues reported
I guess you might remember a java comment // mix, if you use the wrong comment you will find the <bean> The underlined in red