You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ java -jar airplay.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jmdns/JmDNS
at com.jameslow.AirPlay.search(Unknown Source)
at com.jameslow.AirPlay.search(Unknown Source)
at com.jameslow.AirPlay.searchDialog(Unknown Source)
at com.jameslow.AirPlay.searchDialog(Unknown Source)
at com.jameslow.AirPlay.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.jmdns.JmDNS
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 5 more
The text was updated successfully, but these errors were encountered:
Hi,
you are missing some external libraries. As stated on the project page you require JMDNS, also you need SLF4J. From SLF4J you need the api and an implementation e.g simple or nop. Then open your command line and write java -cp slf4j-api.jar:slf4j-nop.jar:jmdns.jar:airplay.jar com.jameslow.AirPlay
This solves your issue, but it crashes later after selecting an appleTV and a screen resolution.
$ java -jar airplay.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jmdns/JmDNS
at com.jameslow.AirPlay.search(Unknown Source)
at com.jameslow.AirPlay.search(Unknown Source)
at com.jameslow.AirPlay.searchDialog(Unknown Source)
at com.jameslow.AirPlay.searchDialog(Unknown Source)
at com.jameslow.AirPlay.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.jmdns.JmDNS
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 5 more
The text was updated successfully, but these errors were encountered: