Re: NewB: Servlet/cmd:Classpath confusion
От | Nick Fankhauser |
---|---|
Тема | Re: NewB: Servlet/cmd:Classpath confusion |
Дата | |
Msg-id | NEBBLAAHGLEEPCGOBHDGAEHHEFAA.nickf@ontko.com обсуждение исходный текст |
Ответ на | NewB: Servlet/cmd:Classpath confusion (john-paul delaney <jp@justatest.com>) |
Список | pgsql-jdbc |
> I tested some basic sample servlets and they're working ok Are these servlets with JDBC code in them, or just servlets testing Tomcat? > Nevertheless, even when I run the command line argument to > specify the classpath, I get the same error. > Nick mentions problems of this kind for users running Tomcat - as If you're getting the error when running from the command line, then this has nothing to do with Tomcat. The problem that seems to plague many new users of Tomcat is that since Tomcat runs as a detached process, new developers often forget to add the jdbc jar file to the classpath for the Tomcat process, or have trouble figuring out how to do this. Which line of the code is referenced for the 'NoClassDefFoundError' ? > Secondly, I'm new to databases - postgreSQL is my first > experience in this field, and I think I need a 'cheatsheet' on > psql commands & syntax for beginners (such as SELECT TABLE_NAME I think there's a brief sql tutorial in the postgresql docs on-line. You might also want to check out Bruce Momjian's book, which is still on-line in html: http://www.ca.postgresql.org/docs/aw_pgsql_book/index.html. He has a gentle intro to SQL in the psql environment. -Nick
В списке pgsql-jdbc по дате отправления: