wood burning stoves 2.0
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 40436
    
  28
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