jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic
Author

NoClassDefFoundError

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

hi,

below mentioned code us not working due to NO clss found error..

it works on Jbuilder but not working on MY eclipse 7.0

please help


java.lang.NoClassDefFoundError
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1008)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3238)
at com.bapi.Bapi2.TutorialBapi2(Bapi2.java:51)
at com.bapi.Bapi2.main(Bapi2.java:241)
Exception in thread "main"

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38016
    
  22
This looks as if it might be a classpath problem. Does MyEclipse have a "build path" option like Eclipse? Can you use that to import an external jar?
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Originally posted by Campbell Ritchie:
This looks as if it might be a classpath problem. Does MyEclipse have a "build path" option like Eclipse? Can you use that to import an external jar?



yes it has build path option to add extrenal jar files.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: NoClassDefFoundError
 
Similar Threads
Convert Hex byte to ASCII
using jbutton to change New objects
PrintStream problems
zipping problem in applet very urgent
Attaching files using Java Mail API