Jump to content
We've recently updated our Privacy Statement, available here ×
  • java.lang.ClassNotFoundException: org.postgresql.util.PGobject


    ghudson_1
    • Features: Data Sources Version: v7.1 Product: JasperReports® Library

    Issue Description

    Customer is developing a report against a postgres datasource and encounters an error upon compile:

    java.lang.ClassNotFoundException: org.postgresql.util.PGobject
    

    Resolution

    Inspection of the jrxml shows one of the fields is class type org.postgresql.util.PGobject :

    <field name="object_changes" class="org.postgresql.util.PGobject">
    

    That class isn't "known" to the JVM because it isn't in any library on the runtime classpath. This indicates the query is referencing an unknown field type, and the resolution is to try changing the class to java.lang.String or some other class type which exists in the JVM runtime classpath


    Ref. Case 01608925


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...