could not call class method from another class in eclipse

I am new to eclipse and Java.Please find the code below.I have created maven project in eclipse.But i could not call a method from the class which is in another package.Please find the code .But this code works fine in netbeans.

FILE 1 : 

package config;
public class ActionKeywords {
 
  
         public static void helo( )
         { ............
		}
}

FILE 2 with another package:

package executionEngine;
import config.ActionKeywords;
public class driver{
 
   
    ActionKeywords.helo(); /////////////ERROR //////////
         
}


Source: eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.