It's not a secret anymore!*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 36599
    
  16
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
zipping problem in applet very urgent
PrintStream problems
using jbutton to change New objects
Attaching files using Java Mail API
Convert Hex byte to ASCII