exceptionMSG = class "com.jniwrapper.win32.cb"'s signer information does not match signer informatio

31 views
Skip to first unread message

nzle...@gmail.com

unread,
Jun 26, 2017, 3:33:03 AM6/26/17
to ComfyJ Forum, kh...@e3ps.com, dh...@e3ps.com, yhj...@e3ps.com, ky...@e3ps.com

Hi.

I have completed the jniwrapper setup in my project and tried to run the attached source by adding comfyj-2.12.jar,
but an error occurred. What's the problem?

2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:62 - JAVA_VERSION = 8
2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:161 - DefaultLibraryLoader.generateTmpFolderName
2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:163 - classContainer = file:/C:/SpringDevTools/workspace/testjniwrapper/lib/jniwrap-3.12.jar
2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:165 - bundleVersion = 3.12
2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:235 - DefaultLibraryLoader.getJarName from the container: file:/C:/SpringDevTools/workspace/testjniwrapper/lib/jniwrap-3.12.jar
2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:167 - jarName = jniwrap-3.12
2017-06-26 16:11:41 DEBUG DefaultLibraryLoader:171 - systemTempFolder = C:\Users\ADMINI~1\AppData\Local\Temp\
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:216 - DefaultLibraryLoader.generateTmpFolderName: C:\Users\ADMINI~1\AppData\Local\Temp\jniwrap-3.12.Build.3.12f2e34333-7f94-4976-9640-d91d5f6c0675\
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:380 - Finding library jniwrap64.dll
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:408 - Finding jniwrap64.dll library in JAR: file:/C:/SpringDevTools/workspace/testjniwrapper/bin/jniwrap64.dll
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:425 - Finding library in class path...
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:380 - Finding library jniwrap64.dll
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:408 - Finding jniwrap64.dll library in JAR: file:/C:/SpringDevTools/workspace/testjniwrapper/bin/jniwrap64.dll
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:425 - Finding library in class path...
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:561 - Loading library from C:\SpringDevTools\workspace\testjniwrapper\bin\jniwrap64.dll
Main: [ exceptionMSG = class "com.jniwrapper.win32.cb"'s signer information does not match signer information of other classes in the same package ]
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:380 - Finding library kernel32.dll
2017-06-26 16:11:42 DEBUG DefaultLibraryLoader:443 - Finding library in system library path...

src.zip

Sergei Piletsky

unread,
Jun 26, 2017, 7:42:05 AM6/26/17
to nzle...@gmail.com, ComfyJ Forum, kh...@e3ps.com, dh...@e3ps.com, yhj...@e3ps.com, ky...@e3ps.com
Hi,

That Java security exception (signer information does not match signer information of other classes in the same package) indicates that you have included signed and unsigned versions of JNIWrapper (jniwrap-3.11.jar) or ComfyJ (comfyj-2.13.jar) or WinPack (winpack-3.11.jar) libraries to your Java project. You can find more information about this exception on https://stackoverflow.com, for example: https://stackoverflow.com/questions/8878068/signer-information-does-not-match

Java stores JAR signatures in their META-INF folders, and our JAR files should have TEAMDEV-.RSA and TEAMDEV-.SF files there.  So, in order to resolve that issue you just need to make sure that you use the JAR libraries from the same ComfyJ distribution archive.

-Sergei



--
You received this message because you are subscribed to the Google Groups "ComfyJ Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to comfyj-forum+unsubscribe@teamdev.com.
To view this discussion on the web visit https://groups.google.com/a/teamdev.com/d/msgid/comfyj-forum/bf35d299-c7c4-4a90-ab48-c798111c75f7%40teamdev.com.

Reply all
Reply to author
Forward
0 new messages