You need to manually fix the errors because decompilation isn't perfect. This is why you should decompile a single method or class, edit it, and then recompile it, if you do this then you don't have to deal with every single error in the whole project, just the ones in the method or class you're editing.