I am putting the class in eclipse using build path which is in another project structure
I have no clue what this post is about. Please use a better subject line, something that is readable, for the thread. Also please provide the relevant details in your post while asking a question.