尝试使用 javazoom 播放 MP3 文件并收到错误消息“无法加载资源‘sfd.ser’”
这是我遇到的错误:
Exception in thread "Thread-4" java.lang.ExceptionInInitializerError
at javazoom.jl.decoder.SynthesisFilter.load_d(SynthesisFilter.java:1626)
at javazoom.jl.decoder.SynthesisFilter.<init>(SynthesisFilter.java:75)
at javazoom.jl.decoder.Decoder.initialize(Decoder.java:283)
at javazoom.jl.decoder.Decoder.decodeFrame(Decoder.java:138)
at javazoom.jl.player.Player.decodeFrame(Player.java:213)
at javazoom.jl.player.Player.play(Player.java:120)
at javazoom.jl.player.Player.play(Player.java:104)
at exetersoundsystem.back.mp3_player$AdvancedPlayerThread.run(mp3_player.java:192)
Caused by: java.io.IOException: unable to load resource 'sfd.ser'
at javazoom.jl.decoder.JavaLayerUtils.deserializeArrayResource(JavaLayerUtils.java:146)
at javazoom.jl.decoder.SynthesisFilter.load_d(SynthesisFilter.java:1621)
... 7 more
我仔细观察了一下,被告知要更改某些文件的某些策略,但我完全不知道要更改什么。
This is the error that I'm getting:
Exception in thread "Thread-4" java.lang.ExceptionInInitializerError
at javazoom.jl.decoder.SynthesisFilter.load_d(SynthesisFilter.java:1626)
at javazoom.jl.decoder.SynthesisFilter.<init>(SynthesisFilter.java:75)
at javazoom.jl.decoder.Decoder.initialize(Decoder.java:283)
at javazoom.jl.decoder.Decoder.decodeFrame(Decoder.java:138)
at javazoom.jl.player.Player.decodeFrame(Player.java:213)
at javazoom.jl.player.Player.play(Player.java:120)
at javazoom.jl.player.Player.play(Player.java:104)
at exetersoundsystem.back.mp3_player$AdvancedPlayerThread.run(mp3_player.java:192)
Caused by: java.io.IOException: unable to load resource 'sfd.ser'
at javazoom.jl.decoder.JavaLayerUtils.deserializeArrayResource(JavaLayerUtils.java:146)
at javazoom.jl.decoder.SynthesisFilter.load_d(SynthesisFilter.java:1621)
... 7 more
I goggled it a bit and I was told to change some policy for some file, but I'm totally lost on what to change.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜这是一个序列号 - 他们更改了许可证吗?
我写了一个纯java mp3播放器:mp3transform - 它基于JavaZoom的JLayer仍然是LGPL。
I guess it's a serial number - did they change the license?
I wrote a pure java mp3 player: mp3transform - it is based on JLayer from JavaZoom when it was still LGPL.