What kind of error are you seeing?
If neither of these errors matches the ones you are seeing:
WSVR0040E: addEjbModule failed for MyApp-EJB.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl] java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr
Possible causes of this error include:
Check the server.policy file to see if the security permissions are given for the application.
Give permissions for the application in the server.policy file. For example:
//purchaseOrder permission grant codeBase "file:${was.install.root}/installedApps/myApp.ear/-"{ permission java.security.AllPermission; };where myApp.ear is the application name.
// WebSphere Application Server Security Policy for the application you are running grant codeBase "file:myApp.ear" { permission java.security.AllPermission; }; .
Exception: Class must implement the inherited abstract method AnnuityHolder20BeanCacheEntry_25ce2e23.setACustEmail(String)
The following error might appear when you use the Application Server Toolkit (ASTK) to regenerate deployment code.
Description:Class must implement the inherited abstract method AnnuityHolder20BeanCacheEntry_25ce2e23.setACustEmail(String) On Resource:AnnuityHolder20BeanCacheEntryImpl_25ce2e23.java In Folder:Annuity20EJB/ejbModule/com/ibm/wssvt/tc/pli/ejb/websphere_deploy/DB2UDBNT_V72_1
This error occurs because when you regenerate the deployment code, the old code is not deleted.
To correct this problem delete the folder com.ibm.wssvt.tc.pli.ejb.websphere_deploy.DB2UDBNT_V72_1