title: RobotFramework ImportError: No module named foo
body: <p>I have a class in Java which looks like this:</p>
  
  <pre><code>package com.charandeepmatta.keywords;
  import org.robotframework.javalib.annotation.RobotKeyword;
  import org.robotframework.javalib.annotation.RobotKeywords;
  
  @RobotKeywords
  public class SampleKeywords {
      @RobotKeyword
      public void printToErrorStream() {
          System.err.println("!!! Hello from keyword developed in java ...");
      }
  }
  </code></pre>
  
  <p>And my test case looks like this</p>
  
  <pre><code>*** Settings ***
  Library  org.robotframework.javalib.library.AnnotationLibrary  /**.class
  
  *** Test Cases ***
  Keyword defined in java class can print to error stream
     Print To Error Stream
  </code></pre>
  
  <p>When I try to run it on RIDE it gives me the following error</p>
  
  <pre><code>    [ ERROR ] Error in file 'C:\Users\BFerreira\git\robotframework-maven-project\src\main\robot\suite\OwnDevelopedKeywordTestCase.txt': 
  Importing test library 'org.robotframework.javalib.library.AnnotationLibrary' failed: 
  ImportError: No module named org.robotframework.javalib.library
      Traceback (most recent call last):
        None
      PYTHONPATH:
        C:\Python27\lib\site-packages\robot\libraries
        C:\Python27\lib\site-packages
        C:\Windows\system32\python27.zip
        C:\Python27\DLLs
        C:\Python27\lib
        C:\Python27\lib\plat-win
        C:\Python27\lib\lib-tk
        C:\Python27
        C:\Python27\lib\site-packages\wx-2.8-msw-unicode
        .
        C:\Users\user1\git\robotframework-maven-project\src\main\robot\suite
  </code></pre>
  
  <p>Everything is in the same classpath, can anyone help?</p>