This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Exception : Cannot reflect Local class or supertype Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Exception : Cannot reflect Local class or supertype " Watch "Exception : Cannot reflect Local class or supertype " New topic
Author

Exception : Cannot reflect Local class or supertype

Karthik Krishnamurthy
Greenhorn

Joined: Nov 21, 2003
Posts: 10
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

Joined: Feb 04, 2005
Posts: 118
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Exception : Cannot reflect Local class or supertype
 
It's not a secret anymore!