NoClassDefFoundError

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

Posts: 51453

87

posted 8 years ago

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?