posted 23 years ago
Hi Praveen,
You can look on few things like,
1.Check the import statement in the code.This error may come if that class file isn't attached to the class which is calling it.
2.Check your .xml files and the way you have mentioned the <entity bean> tag.
3.Class path set, check whether you have mention proper class path or not.
4.Deployment of entity bean is proper or not.Means, when you start weblogic6.0 server, it basically confirms on console about deployment on the bean or check through console Please check.
5.Check all interfaces of the entity bean in all respect.
6. May be the findByPrimaryKey method or the way you are accessing the entity bean from session bean is not proper.
But, as per the error,first three are most probable mistake.
Aviansh
[This message has been edited by Avinash Kumar (edited June 30, 2001).]