How to import package withing package

Sunday, May 11, 2014

I have a package named "smartApp" which further contains a file and a sub package named "Crawler" . I am trying to access a .java file (defined in crawler package) in also import Crawler package in file as "import Crawler.*;" but it says "error: package Crawler does not exist" .

My hierarchy is as follows: SmartApp--> , Crawler -->