This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
0 Replies Last post: Jul 23, 2009 6:18 PM by Matt  
Matt   2 posts since
Feb 12, 2009
Currently Being Moderated

Jul 23, 2009 6:18 PM

JxFileWatcher and JNIWrapper

Is JxFileWatcher compatible with Java apps that already use JNIWrapper? I ask this because we just recently purchased a license for JxFileWatcher, went to add the appropriate code to an application that already utilizes JNIWrapper, and got the following error messages at runtime...

 

Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError
    at com.teamdev.filewatch.FileWatcher.create(SourceFile:354)
   
Caused by: java.lang.SecurityException: class "com.jniwrapper.ce"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at com.teamdev.filewatch.k.<init>(SourceFile:19)
    at com.teamdev.filewatch.k.<clinit>(SourceFile:13)
    ... 50 more
Exception in thread "pool-2-thread-1" java.lang.NoClassDefFoundError: Could not initialize class com.teamdev.filewatch.k
    at com.teamdev.filewatch.FileWatcher.create(SourceFile:354)

 

 

I haven't been able to find any notes online about whether or not the two toolkits are compatible.

 

Thanks for your time,

Matt

More Like This

  • Retrieving data ...