Can't get 4.1.1 version to run correctly with MySQL configuration

Dean West's Avatar

Dean West

31 Jan, 2022 02:10 AM

Keep getting this error when I try to run jBilling version 4.1.1:

Error initializing the application: com/mchange/v2/c3p0/ComboPooledDataSource
java.lang.NoClassDefFoundError: com/mchange/v2/c3p0/ComboPooledDataSource

DB "jBilling-DataSource.groovy" file configure to work with MySQL:

dialect = "org.hibernate.dialect.MySQLDialect"
driverClassName = "com.mysql.cj.jdbc.Driver"
username = "root"
password = "root"
url = "jdbc:mysql:localhost:3306/jbilling"

When I run the "hsqldb" configuration, it works fine.

  1. 1 Posted by Melvingauth on 06 Feb, 2022 08:22 PM

    Melvingauth's Avatar

    Tor Proxy Service With Perfect Privacy.

    Website Link : https://buyproxies.org/panel/aff.php?aff=2746

    Proxy Quality Proof : https://www.hizliresim.com/81tmu2u

  2. 2 Posted by vikas bodani on 19 Apr, 2022 01:33 PM

    vikas bodani's Avatar

    Error is about the c3p0 dependency (compile 'com.mchange:c3p0:0.9.2.1') but
    it should already be there except that it may not exist in the default war.
    You may have to rebuild the war.

    *Vikas Bodani*
    www.webdatatechnologies.in

  3. 3 Posted by Dean West on 12 May, 2022 10:03 PM

    Dean West's Avatar

    Hi Vikas,

      Can you tell me steps to rebuild the project? From what directory?

    Thanks for your help,

    Dean West

  4. 4 Posted by vikas bodani on 12 Jan, 2023 08:11 AM

    vikas bodani's Avatar

    The steps are grails clean ; grails compile ; grails war

    Its there in the README file at
    https://github.com/WebDataConsulting/billing as well.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac