Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 169065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:33:52+00:00 2026-05-11T12:33:52+00:00

I’m new to persevere, I did the helloWorld tutorial, very impressive btw but I’m

  • 0

I’m new to persevere, I did the helloWorld tutorial, very impressive btw but I’m now trying to connect to a real postgres database and find myself struggling having the driver recognized when I have the feeling it should be dead simple.

I dropped all the jdbc driver for postgres I had to the persevere/lib folder:

  • postgresql-8.3-603.jdbc2ee.jar
  • postgresql-8.3-603.jdbc2.jar
  • postgresql-8.3-603.jdbc3.jar
  • postgresql-8.3-603.jdbc4.jar

And yet when I start persevere with the command ‘persvr’ with no argument from my project folder I get the following error message:

java.lang.ClassNotFoundException: org.postgresql.Driver     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)     at java.security.AccessController.doPrivileged(Native Method)     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)     at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:379)     at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:341)     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:169)     at org.persvr.datasource.DatabaseDataSource.initParameters(Unknown Source)     at org.persvr.datasource.DatabaseTableDataSource.initParameters(Unknown Source)     at org.persvr.data.DataSourceManager.initSource(Unknown Source)     at org.persvr.data.DataSourceManager.<clinit>(Unknown Source)     at org.persvr.data.Identification.idForString(Unknown Source)     at org.persvr.Persevere.load(Unknown Source)     at org.persvr.job.SampleData.execute(Unknown Source)     at org.persvr.job.Upgrade.execute(Unknown Source)     at org.persvr.remote.PersevereFilter.init(Unknown Source)     at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)     at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:620)     at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)     at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)     at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)     at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)     at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)     at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)     at org.mortbay.jetty.Server.doStart(Server.java:222)     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)     at org.persvr.util.JettyStart.main(Unknown Source) 

I’m actually trying to expand the helloWorld project as an exercize, so I’ve added a postgres.json file in my helloWorld/WEB-INF/config folder. Here is the content of that file:

    {'id':'postgres.json', 'sources':[         {'name':'addressTable',                 'sourceClass':'org.persvr.datasource.DatabaseTableDataSource',                 'connection':'jdbc:postgresql://hostname:5432/pnp?user=user1&pass=mypassword',                 'driver':'org.postgresql.Driver',                 'camelCaseColumnNames': false,                 'table':'addr',                 'idColumn':'addr_id',                 'dataColumns':['addr_stat_cd','addr1','addr2','city','state','zip','zip_ext','cntry_cd','last_upd_uid','last_upd_dttm','create_uid','create_dt tm'],         'schema':{                 'data':{'$ref':'../addressTable/'}         } }] } 

Could anyone tell me why persevere can’t find that postgres driver please?

Thanks, Lancelot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:33:52+00:00Added an answer on May 11, 2026 at 12:33 pm

    Figured it out. The postgres driver jar should actually go into the folder: persevere/WEB-INF/lib instead of the persevere/lib.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.