|
I just exported the source and compiled outside of VAJ. It worked, so I'm fairly sure this problem comes from VAJ somehow. Anybody? Robert ----- Original Message ----- From: "Brad Stone" <brad@bvstools.com> To: <java400-l@midrange.com> Sent: Friday, December 14, 2001 12:43 PM Subject: Re: java.lang.NoClassDefFoundError: com.ibm.as400.access.AS400 > Have you tried compiling it outside of VAJ? > > Brad > www.bvstools.com > > On Fri, 14 Dec 2001 12:44:38 -0400 > "Robert Upshall" <rupshall@psasoft.com> wrote: > > If this is a classpath error, then I think this is a VAJ > > problem. I have > > other applications that use the toolbox and even others > > in this package. > > > > If I define the AS400 as a AS400 Bean using the AS400 tab > > in the VCE and > > make my connections using the VCE connection method, it > > does not give this > > error. > > > > I wanted to have more control than I could get with the > > pervious method so I > > defined the AS400 object as a factory object with an > > AS400 type. > > > > I know my class path is set properly. This problem must > > be a problem witrh > > the way VAJ handles this situation. Has anybody > > experienced anything like > > this? > > > > Robert > > > > > > > > ----- Original Message ----- > > From: "Joe Pluta" <joepluta@PlutaBrothers.com> > > To: <java400-l@midrange.com> > > Sent: Friday, December 14, 2001 10:42 AM > > Subject: RE: java.lang.NoClassDefFoundError: > > com.ibm.as400.access.AS400 > > > > > > > Yes, it means that your classpath is not set. You > > need to do a > > right-click > > > on the class, select Prloperties, and go to the > > Classpath tab. The, click > > > the Compute Now button to determine the appropriate > > classpath. Make sure > > to > > > hit OK afterward. > > > > > > You might want to try running your program with the > > -verbose switch: > > > "java -verbose myclass". This may give you more > > information. But > > > NoClassDefFoundError is pretty specific - it's a > > classpath error. > > > > > > Joe > > > > > > > From: Robert Upshall > > > > > > > > I am 100% positive that toolbox is in the classpath. > > > > > > > > I use the toolbox classes in many places, including > > the AS400 class, it > > is > > > > only when I try this method to get my connection work > > that I get > > > > a problem. > > > > > > > > This gives me the error when I run through VAJ. Does > > anybody > > > > know why this > > > > error might happen in VAJ? > > > > > > _______________________________________________ > > > This is the Java Programming on and around the iSeries > > / AS400 (JAVA400-L) > > mailing list > > > To post a message email: JAVA400-L@midrange.com > > > To subscribe, unsubscribe, or change list options, > > > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > > > or email: JAVA400-L-request@midrange.com > > > Before posting, please take a moment to review the > > archives > > > at http://archive.midrange.com/java400-l. > > > > > > > _______________________________________________ > > This is the Java Programming on and around the iSeries / > > AS400 (JAVA400-L) mailing list > > To post a message email: JAVA400-L@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > > or email: JAVA400-L-request@midrange.com > > Before posting, please take a moment to review the > > archives > > at http://archive.midrange.com/java400-l. > > > > Bradley V. Stone > BVS.Tools > www.bvstools.com > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.