I don't understand my persistence file was generated by Netbeans. I have compared with others persistence file in web and I not saw difference I know that this error "Unable to locate persistence units" are in my persistence file but I can't see where.
If the file is corrupt, who knows what can happen. I seriously doubt that the version attribute has anything to do with this. But as long as the file doesn't even parse (see line 17), there's really no point in speculating.