title: Make instance of class in java at runtime
body: <p>In my program I generate classes dynamically but when I try:</p>
  
  <pre><code>String[] args = {"-d","D:\\path\\build\\classes","-s","D:\\path\\src","http://services.aonaware.com/DictService/DictService.asmx?WSDL"};
  WsImport.doMain(args);
  URL url = new URL("file:D:/path/build/classes/com/aonaware/services/webservices/");
  URLClassLoader urlClassLoader = new URLClassLoader(new URL[]{url});
  Class service = Class.forName("com.MyClass",true,urlClassLoader );
  </code></pre>
  
  <p>I recieve <code>java.lang.ClassNotFoundException</code></p>
  
  <p>If I run one more time the program (in Eclipse), then it is working. Actually I only have to refresh the project in Eclipse and then its working</p>
  
  <p>Does anybody see the problem</p>