Basically, they’re both correct warnings. You’ll be warned when you don’t use imports that you include, so organizing them got rid of the import and thus addressed the warning. And, if you implement java.io.Serializable, it is recommneded that you declare a serialVersionUID for forward compatibility. Please see the javadoc for Serializable for a description.
However, both are warnings and you can continue on and safely ignore them for your purposes.