V0f41k
Junior Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору При компиляции пишет вот что: Код: C:\Appl\jdk\bin>javac mp3tags.java mp3tags.java:37: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Headline trackName; ^ mp3tags.java:38: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Headline artistName; ^ mp3tags.java:39: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Headline albumName; ^ mp3tags.java:43: cannot find symbol symbol : class Lyric location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Lyric lyrics; ^ mp3tags.java:86: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public Mp3Tags(String filename) throws StringTooLongException, IOException, CorruptTagException, UnsupportedEncodingException{ ^ mp3tags.java:86: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public Mp3Tags(String filename) throws StringTooLongException, IOException, CorruptTagException, UnsupportedEncodingException{ ^ mp3tags.java:500: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public void newMp3(String filename) throws IOException, CorruptTagException, UnsupportedEncodingException{ ^ mp3tags.java:631: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public void readTagsFromMp3()throws IOException, UnsupportedEncodingExceptio n, CorruptTagException{ ^ mp3tags.java:891: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public void writeTagsToMp3() throws IOException, StringTooLongException{ ^ mp3tags.java:1251: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private boolean getLyrics3() throws UnsupportedEncodingException, IOExceptio n, CorruptTagException{ ^ mp3tags.java:62: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags trackName = new Headline(); ^ mp3tags.java:63: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags artistName = new Headline(); ^ mp3tags.java:64: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags albumName = new Headline(); ^ mp3tags.java:65: cannot find symbol symbol : class Lyric location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags lyrics = new Lyric(); ^ mp3tags.java:897: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Lyrics too long"); ^ mp3tags.java:900: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Information too long"); ^ mp3tags.java:903: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Image too long"); ^ mp3tags.java:906: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Artist name too long"); ^ mp3tags.java:909: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Album length too long"); ^ mp3tags.java:912: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Author length too long"); ^ mp3tags.java:915: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Track name too long"); ^ mp3tags.java:943: operator + cannot be applied to int,Lyric.length length += 18 + lyrics.length(); ^ mp3tags.java:943: inconvertible types found : <nulltype> required: int length += 18 + lyrics.length(); ^ mp3tags.java:967: operator + cannot be applied to int,Headline.length length += 8 + trackName.length(); ^ mp3tags.java:967: inconvertible types found : <nulltype> required: int length += 8 + trackName.length(); ^ mp3tags.java:973: operator + cannot be applied to int,Headline.length length += 8 + artistName.length(); ^ mp3tags.java:973: inconvertible types found : <nulltype> required: int length += 8 + artistName.length(); ^ mp3tags.java:979: operator + cannot be applied to int,Headline.length length += 8 + albumName.length(); ^ mp3tags.java:979: inconvertible types found : <nulltype> required: int length += 8 + albumName.length(); ^ mp3tags.java:1271: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Could not find LYRICSBEGIN delimi ter"); ^ mp3tags.java:1289: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Could not find LYRICSBEGIN de limiter"); ^ mp3tags.java:1297: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Size of a field could not be determined"); ^ mp3tags.java:1301: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Size of a field larger th an space available"); ^ mp3tags.java:1348: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Size of Lyrics3 tag could not be determined"); ^ Note: mp3tags.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: mp3tags.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 34 errors | При компиляции с -Xlint ничего не проясняется - тот же дуратский "cannot find symbol": Код: C:\Appl\jdk\bin>javac -Xlint mp3tags.java mp3tags.java:37: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Headline trackName; ^ mp3tags.java:38: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Headline artistName; ^ mp3tags.java:39: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Headline albumName; ^ mp3tags.java:43: cannot find symbol symbol : class Lyric location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private Lyric lyrics; ^ mp3tags.java:86: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public Mp3Tags(String filename) throws StringTooLongException, IOException, CorruptTagException, UnsupportedEncodingException{ ^ mp3tags.java:86: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public Mp3Tags(String filename) throws StringTooLongException, IOException, CorruptTagException, UnsupportedEncodingException{ ^ mp3tags.java:500: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public void newMp3(String filename) throws IOException, CorruptTagException, UnsupportedEncodingException{ ^ mp3tags.java:631: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public void readTagsFromMp3()throws IOException, UnsupportedEncodingExceptio n, CorruptTagException{ ^ mp3tags.java:891: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags public void writeTagsToMp3() throws IOException, StringTooLongException{ ^ mp3tags.java:1251: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags private boolean getLyrics3() throws UnsupportedEncodingException, IOExceptio n, CorruptTagException{ ^ mp3tags.java:62: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags trackName = new Headline(); ^ mp3tags.java:63: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags artistName = new Headline(); ^ mp3tags.java:64: cannot find symbol symbol : class Headline location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags albumName = new Headline(); ^ mp3tags.java:65: cannot find symbol symbol : class Lyric location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags lyrics = new Lyric(); ^ mp3tags.java:706: warning: [unchecked] unchecked call to addElement(E) as a memb er of the raw type java.util.Vector dirOptions.addElement(optionsToks.nextToken()); ^ mp3tags.java:722: warning: [deprecation] decode(java.lang.String) in java.net.UR LDecoder has been deprecated workingName = URLDecoder.decode(workingName); ^ mp3tags.java:742: warning: [unchecked] unchecked call to addElement(E) as a memb er of the raw type java.util.Vector fieldList.addElement(t.text); ^ mp3tags.java:897: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Lyrics too long"); ^ mp3tags.java:900: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Information too long"); ^ mp3tags.java:903: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Image too long"); ^ mp3tags.java:906: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Artist name too long"); ^ mp3tags.java:909: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Album length too long"); ^ mp3tags.java:912: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Author length too long"); ^ mp3tags.java:915: cannot find symbol symbol : class StringTooLongException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new StringTooLongException("Track name too long"); ^ mp3tags.java:943: operator + cannot be applied to int,Lyric.length length += 18 + lyrics.length(); ^ mp3tags.java:943: inconvertible types found : <nulltype> required: int length += 18 + lyrics.length(); ^ mp3tags.java:967: operator + cannot be applied to int,Headline.length length += 8 + trackName.length(); ^ mp3tags.java:967: inconvertible types found : <nulltype> required: int length += 8 + trackName.length(); ^ mp3tags.java:973: operator + cannot be applied to int,Headline.length length += 8 + artistName.length(); ^ mp3tags.java:973: inconvertible types found : <nulltype> required: int length += 8 + artistName.length(); ^ mp3tags.java:979: operator + cannot be applied to int,Headline.length length += 8 + albumName.length(); ^ mp3tags.java:979: inconvertible types found : <nulltype> required: int length += 8 + albumName.length(); ^ mp3tags.java:1135: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, fiel d)); ^ mp3tags.java:1142: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.DELIM, deli m)); ^ mp3tags.java:1149: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.DELIM, deli m)); ^ mp3tags.java:1153: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, fiel d)); ^ mp3tags.java:1156: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, "t")); ^ mp3tags.java:1162: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.DELIM, deli m)); ^ mp3tags.java:1167: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, fiel d)); ^ mp3tags.java:1170: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, "t")); ^ mp3tags.java:1177: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, field)); ^ mp3tags.java:1184: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.DELIM, delim)); ^ mp3tags.java:1188: warning: [unchecked] unchecked call to addElement(E) as a mem ber of the raw type java.util.Vector v.addElement(new OptionToken(OptionToken.FIELD, field)); ^ mp3tags.java:1271: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Could not find LYRICSBEGIN delimi ter"); ^ mp3tags.java:1289: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Could not find LYRICSBEGIN de limiter"); ^ mp3tags.java:1297: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Size of a field could not be determined"); ^ mp3tags.java:1301: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Size of a field larger th an space available"); ^ mp3tags.java:1348: cannot find symbol symbol : class CorruptTagException location: class com.Ostermiller.Mp3Tagger.Lyric3.Mp3Tags throw new CorruptTagException("Size of Lyrics3 tag could not be determined"); ^ 34 errors 14 warnings | Мне не ясна ошибка "cannot find symbol" - это даже не syntax error - что неверно вообще не ясно. Может есть ключик позволяющий подробнее указать ошибку? |