• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NoClassDefFoundError when deploying

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
when trying to deploy my .ear to jboss, I get:

Verify failed; continuing
java.lang.NoClassDefFoundError: gk/office/BuchungDetailsBean

when I want to use that class within my new session bean:

import gk.office.BuchungDetailsBean;

public abstract class BuchungControllerBean implements SessionBean {

private BuchungHome buchungHome;
private Buchung buchung;

public BuchungControllerBean() {
super();
// TODO Auto-generated constructor stub
}
public BuchungDetailsBean getBuchungDetails (String buchungId)
throws RemoteException, FinderException
{
BuchungHome buchungHome = HomeProvider.getInstance().getBuchungHome();
....

Ideas?
 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure that it's part of your .ear/.jar file.
If it resides in a differnt .jar file, make sure that it's available in via manifest.
 
guenter krannich
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Within my .ear file there are the ejb-jar file with the "using" BuchungControllerBean and a .war file containing the referenced BuchungDetailsBean and (among others) a Debug class. There was no problem to use the Debug class from within another ejb, so what's different now?
 
reply
    Bookmark Topic Watch Topic
  • New Topic