|
This is most likely a classloader/classpath problem. On what platform is your java code running? What version of the JDK are you using? What servlet engine are you using? Where is ServletClasses.java deployed? Where is JTOpen installed? If you're running on the iSeries, be sure to follow the classpath instructions for your release of OS/400: http://www-1.ibm.com/servers/eserver/iseries/toolbox/faq.htm#faqT HTH, Gary > -----Original Message----- > From: java400-l-admin@midrange.com > [mailto:java400-l-admin@midrange.com] On Behalf Of Chris Proctor > Sent: Wednesday, November 20, 2002 2:19 PM > To: 'Java400-l' > Subject: (no subject) > > > This message is in MIME format. Since your mail reader does > not understand this format, some or all of this message may > not be legible. > -- > [ Picked text/plain from multipart/alternative ] > Hi all, > > No one answered this question the last time I asked, so I > thought I'd ask again. I am getting an error when trying to > run a java servlet. It's telling me that the registerDriver > method isn't in the DriverManager class, however, when I look > at the javadocs it shows registerDriver as a method within > the class. Am I doing something wrong? BTW, I downloaded > JTOPEN from the website. That's what I'm using. If anyone > could straighten me out I'd appreciate it. Here's my error message: > > "ServletClasses.java": Error #: 300 : method > registerDriver(com.ibm.as400.access.AS400JDBCDriver) not > found in class java.sql.DriverManager at line 18, column 27 > > Thanks! > > Chris Proctor > Applications Manager > GART SPORTS > 1050 W. Hampden Ave. > Englewood, CO 80110 > (303) 863-2280 > > _______________________________________________ > 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.