You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by "Trenton D. Adams" <tr...@trentonadams.ca> on 2010/05/26 22:54:11 UTC

ClassNotFoundException enhancer

Caused by: java.lang.ClassNotFoundException: org.adamsbros.rmi.ledger.datatypes.EntryType

public enum EntryType implements Serializable
{
    DEBIT,
    CREDIT
}

I have it setup to store these as strings.  The class that is using it as this...

    @Column(name = "debitCredit")
    @Enumerated(EnumType.STRING)
    public EntryType getEntryType()
    {
        return entryType;
    }

Is the enhancer not loading it into the class path because there's a missing annotation of some sort?  What would that be?  I though the @Enumerated was all that is needed.

openjpa-1.2.1

Thanks.