• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to deploy EJB

 
Edmund Yong
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While deploying an EJB to weblogic 6.1, I am getting the below exception. The EBScoreCardBean implements an interface call IScoreCard, which has the method getScoreCardID(). I don't know why I have this error. Both class and interface classes are compiled. The interface also contains other methods, and I don't get exceptions about not finding other methods. The beans also defined properly in ejb-jar.xml. My colleague does not have this problem. Where do I look to find the problem? Thanks!

<Jun 8, 2007 5:45:20 PM SGT> <Error> <J2EE> <Error deploying application scorcard:

Unable to deploy EJB: scorecard from scorecard:


For cmp-field 'scoreCardID' of bean 'EBScoreCardBean', we expected to find a corresponding 'getScoreCardID' method in the abstract bean class. Compilation cannot continue without this 'get' method
at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:131)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:306)
at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:705)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:886)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic