title: class not found exception in eclipse Groovy program
body: <p>This is my simple Groovy program, i have added the groovy plugins in the eclipse.I am using the Eclipse mars(2018-12) And when i try to run the program, it is showing the ClassNotFoundException. Also it showing the "internal error occurred 'Refresh DSLD scripts'". But the java programs are working well in it.</p>
  
  <p>This is simple Groovy program:-</p>
  
  <pre><code>class NewOne{
  static void main(String[] args){
  println("hello world");
  }
  }
  </code></pre>
  
  <p>This is my result:-</p>
  
  <pre><code>java.lang.ClassNotFoundException: groovy.ui.Console
  at org.codehaus.groovy.tools.Rootloader.findclass(RootLoader.findClass
  (RootLoader.java:179)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
  at org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:151)
  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
  at 
  org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:104)
  at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:136)
  </code></pre>