I am trying to create the ear file for my application and in the process running the
JBoss server from Eclipse. I was getting the following error..
18:38:47,203 WARN [verifier]
EJB spec violation:
Bean : Stock
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the <local> element.
Info : Class not found on 'lum.stock.ejb.interfaces.StockLocal': No ClassLoaders found for: lum.stock.ejb.interfaces.StockLocal
When I edited my ejb-jar.xml file noticed the below two lines in the <session> .
<local-home>lum.stock.ejb.interfaces.StockLocalHome</local-home>
<local>lum.stock.ejb.interfaces.StockLocal</local>
Since I don't have such classes as StockLocal and StockLocalHome I removed these lines from the ejb-jar.xml saved it and terminated the server and started it again but still the same error message keeps coming.
I also tried the Run Packaging and tried restarting the server but still getting same error.
Any suggestions
Thanks,
Ram