This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting error while deploying ejb CHKJ2802E  RSS feed

 
Avneet Singh
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CHKJ2802E: <ejb-class> class com.lilly.cdm.admin.app.ejb.HolidayEBBean, or one of its supertypes, cannot be reflected.Check the classpath. ejb-jar.xml cdmEJB/ejbModule/META-INF

Can any body help me with this error.

What I'm doing is rebuilding the code in RAD6. Earlier this message was not coming but now it's not going np matter how many times i do a clean on the project. The code gets deployed and works fine on the server Websphere 6.

Im able to run my code but this error is still not going away. The EJB's are working fine but for all the declarations in ejb_jar.xml i'm getting this error.

Would appreciate any help on this.

Thanks & regards
Avneet
 
denis feferman
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any workarounds for this problem yet?
 
Manimaran Malaichamy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Avneet Singh:
CHKJ2802E: <ejb-class> class com.lilly.cdm.admin.app.ejb.HolidayEBBean, or one of its supertypes, cannot be reflected.Check the classpath. ejb-jar.xml cdmEJB/ejbModule/META-INF

Can any body help me with this error.

What I'm doing is rebuilding the code in RAD6. Earlier this message was not coming but now it's not going np matter how many times i do a clean on the project. The code gets deployed and works fine on the server Websphere 6.

Im able to run my code but this error is still not going away. The EJB's are working fine but for all the declarations in ejb_jar.xml i'm getting this error.

Would appreciate any help on this.

Thanks & regards
Avneet


In order to rectify this error, right click the EJB project and click Run Validation. At once, the error vanishes and you can carry on...!
[ August 25, 2008: Message edited by: Manimaran Malaichamy ]
 
Priyank Nautiyal
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was facing the same issue. In order to resolve it:
Verifiy that the Java Build Path is set up correctly.
In each project right-click -> Properties -> Java Build Path -> Order and Export. Move ‘JRE System Library (jdk)’ to the top and have it check marked.

After that I did what Manimaran worte, i.e. right click the EJB project and click Validate. All the errors disappeared.
Hope it helps.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!