UnsatisfiedLinkError in Lotus Notes Plugin
We have a problem with the dll in the notes plugin.
When we call it: NotesFactory.createSession ();
we get this error:
Unable to create view: nlsxbe (filename or extension too long.java.lang.UnsatisfiedLinkError: nlsxbe (filename or extension too long) in java.lang.ClassLoader.loadLibraryWithPath (ClassLoader.java:952) in java.lang.ClassLoader .loadLibraryWithClassLoader (ClassLoader.java:921) in java.lang.System.loadLibrary (System.java:452) at lotus.domino.NotesThread.load (Unknown source) at lotus.domino.NotesThread.checkLoaded (Unknown source) at lotus .domino.NotesThread.sinitThread (Unknown source) at com.atempo.adam.lotus.plugin.views.TopicView.createPartControl (TopicView.java:609)
The NotesFactory is in Notes.jar which we have included in our "plugin.xml" tab in the dependencies tabs. (Dependency: "com.ibm.notes.java.api").
Bank path: "C: \ Archivos de programa \ IBM \ Lotus \ Notes \ framework \ rcp \ eclipse \ plugins \ com.ibm.rcp.j2se.win32.x86_1.5.0.SR4-200707311521 \ jre \ lib \ Notes. jar "This is longer than 128 characters. If we set notes to "c: \ program files \ IBM" instead of "C: \ Archivos de programa \ IBM", the resulting path is shorter than 128 and we don't get an error.
We also tried to copy the nlsxbe.dll file to WIN \ System32 or register nlsxbe.dll using the regsvr32 command, but we get the same error.
Versions: Lotus Notes 8.0, version 20070803.1143 java 1.5.0
thanks
Have you added a jar as an external jar to your plugin project? If so, try copying the jar and dlls into your plugin project and linking to them from there.
You can try asking Mikkel for some help, he has a lot of experience in plugin development in Lotus Notes -> www.lekkimworld.com
a source to share
@Carlos Jaime wrote me an email and will definitely reply.
@Mitch Wheat I don't know if you've seen the notes recently, but since the release of Notes 8, these are no longer your wonderful fathers! Notes is currently based on Eclipse and a very modern and workable client. Probably one of the strongest corporate clients, if not the strongest, on the market today. Many of these views, like yours, either haven't seen (or used) the Notes client for a looooooong time, or are part of an organization that just doesn't update due to reasons beyond my scope.