File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 39395
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError