Hallo,
ich habe mir das CalendarExportPlugin ein bisschen umgeschrieben, aber wenn ich es benutzen will, bekomme ich folgende Fehlermeldung beim starten vom TV-Browser:
11:54:28 WARNUNG: Loading plugin file failed: /Library/Application Support/TV-Browser/plugins/CalendarDirectExportPlugin.jar
util.exc.TvBrowserException: [PluginLoader.error.2#Could not load plugin /Library/Application Support/TV-Browser/plugins/CalendarDirectExportPlugin.jar.]
at tvbrowser.core.PluginLoader.loadJavaPlugin(PluginLoader.java:273)
at tvbrowser.core.PluginLoader.loadPlugin(PluginLoader.java:133)
at tvbrowser.core.PluginLoader.loadPlugins(PluginLoader.java:199)
at tvbrowser.core.PluginLoader.loadAllPlugins(PluginLoader.java:237)
at tvbrowser.TVBrowser.main(TVBrowser.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Caused by: java.lang.ClassNotFoundException: calendardirectexportplugin.CalendarDirectExportPlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at tvbrowser.core.PluginLoader.loadJavaPlugin(PluginLoader.java:269)
... 11 more
11:54:28 WARNUNG: Key 'PluginLoader.error.2' not found in resource bundle 'tvbrowser.core.core'
util.exc.TvBrowserException: [PluginLoader.error.2#Could not load plugin /Library/Application Support/TV-Browser/plugins/CalendarDirectExportPlugin.jar.]
at tvbrowser.core.PluginLoader.loadJavaPlugin(PluginLoader.java:273)
at tvbrowser.core.PluginLoader.loadPlugin(PluginLoader.java:133)
at tvbrowser.core.PluginLoader.loadPlugins(PluginLoader.java:199)
at tvbrowser.core.PluginLoader.loadAllPlugins(PluginLoader.java:237)
at tvbrowser.TVBrowser.main(TVBrowser.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Caused by: java.lang.ClassNotFoundException: calendardirectexportplugin.CalendarDirectExportPlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at tvbrowser.core.PluginLoader.loadJavaPlugin(PluginLoader.java:269)
... 11 more
11:54:28 WARNUNG: Key 'PluginLoader.error.2' not found in resource bundle 'tvbrowser.core.core'
Weiß jemand an was das liegen kann?
Wenn es euch was hilft kann ich euch auch den neuen Quellcode hier reinstellen.
In der jar-Datei liegen die class-Dateien in Ordnern, also müsste auf unterer Ebene ein Ordner calendardirectexportplugin existieren, in dem dann die Datei CalendarDirectExportPlugin.class liegt.