I am writing a program to change the id3 tags for mp3 & video file. Initially i was using mp3agic api to make it work, but i got this error while setting tags

id3v1Tag = new ID3v1Tag();

Error
Cannot find symbol
in this program

Mp3File mp3file = new Mp3File("SomeMp3File.mp3");
ID3v1 id3v1Tag;
if (mp3file.hasId3v1Tag()) {
  id3v1Tag =  mp3file.getId3v1Tag();
} else {
  // mp3 does not have an ID3v1 tag, let's create one..
  id3v1Tag = new ID3v1Tag();
  mp3file.setId3v1Tag(id3v1Tag);
}
id3v1Tag.setTrack("5");
id3v1Tag.setArtist("An Artist");
id3v1Tag.setTitle("The Title");
id3v1Tag.setAlbum("The Album");
id3v1Tag.setYear("2001");
id3v1Tag.setGenre(12);
id3v1Tag.setComment("Some comment");
    mp3file.save("MyMp3File.mp3");

Cannot get the solution, then i shifted to this one

javamusictag.sourceforge.net/QuickStart.html

Here i dont know what files to import in our java file as i am importing these file in mp3agic api

import com.mpatric.mp3agic.BufferTools;
import com.mpatric.mp3agic.ID3v2Frame;
 
import com.mpatric.mp3agic.ID3v1;    
import com.mpatric.mp3agic.InvalidDataException;
import com.mpatric.mp3agic.Mp3File;
import com.mpatric.mp3agic.UnsupportedTagException;

Thanks