Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception : Cannot reflect Local class or supertype

 
Karthik Krishnamurthy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I had written an extensive EJB application. It has 2 EJBs (elig and common)
Just before deployment, today I renamed the packeage of my Core EJBs from com.abc.common to com.abc.bxcommon and com.abc.elig to com.abc.bxelig.

Originally I had only renamed the elig package and everything was fine. After renaming the common package I am getting the following exception :

com.abc.bxelig.services.ejb.CoverageBenefitInquiryLocal, or one of its supertypes, cannot be reflected. Check the classpath.ejb-jar.xmlHIPAAScape270/ejbModule/META-INFline 9

And 4 other similar exceptions.

Please help.
Thanks
Karthik
 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Strangely enough, I simply did a "Cut/2 Enters/ Paste" of the <session..../> descriptor in the EJB Deployment Descriptor and it worked perfectly.

Karthik
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic