Rule number one when working with a
Java IDE is that if something goes wrong, try to do it manually (no IDE involvement). Only after you get it working manually should you attempt to get the IDE involved again. You will have less headaches and fewer ulcers.
P.S. This does not mean that you cannot use the IDE as a glorified text editor (unless you suspect that the IDE is messing up the text!)