Hello Dishant,
Did you just created the ejb project? if the message you see is this: "An EJB module must contain one or more enterprise beans", then this is working as designed, and this message should go away once you add an EJB to the ejb-jar-xml deployment descriptor.