The generated classes depend on org.eclipse.core.runtime, please add this dependency as well if not already present. Did not have this dependency in my wizard-created plug-in project by default.
Actually, no big issue, but nice to have. Could be made also configurable if some people may not expect to have their dependencies updated while generating classes.