In my experience, most prosecutors will not offer diversion (classes in exchange for a dismissal) to a defendant who has previously been convicted of the same offense. I have, however, seen it in some circumstances. Please understand that some prosecutors, like those in Peoria Municipal Court, do not offer diversion classes on shoplifting charges.
You will need to discuss the particulars of the case and your circumstances with an attorney. By examining the police report, the charging document, and speaking with you, the attorney will have a much more accurate expectation of the plea possibilities.