I had the exact same error when I first tried to do this, it was not until I stopped modifying the .jar directly (using the FtB feature for CoreMods) did I get it to work. Check out my post right above yours with my tutorial video on how to do this. Hope it helps!