title: CustomRestservice OSGi plugin throws java.lang.NoClassDefFoundError: lotus/domino/Session
body: <p>I'm creating a new OSGi plugin and I need to use the current user's session. The code in the plugin is called from a xe:customRestService in 'doGet'.
  Now I was not able to 'just' pass the session over, so I used ExtLibUtil.getCurrentSession(); Now all compiles correctly and I can debug the code, but whenever I 'use' this session to get, for example, the current servername, it throws:</p>
  
  <p>java.lang.NoClassDefFoundError: lotus/domino/Session</p>
  
  <p>What dependency is my project missing or is there another possibility?</p>