Encountered this error yesterday and spend some time on figuring out what could be wrong with the config and later on comparision with the previous version found the bean definition had an additional '-' character.In the Spring context file ,if the bean definition needs any special characters ,it must be enclosed with the escape character else the forementioned exception is thrown.
Thanks a lot this saved me 5 hours of work in my case it was '(' and ')'
ReplyDeletethanks man..helpfull tip
ReplyDeletei found out it was ',' in my xml which i believe i accidentally keyed tat in. Arigato
ReplyDeleteI just spent 3 hours figuring out that an invisible character in the text editor was causing this issue. Apparently it was not recognized as white space. Your post helped me focus in on it, thanks!
ReplyDeleteYep, whitespace for me too!
ReplyDeleteTanks a lot , its help lot
ReplyDelete