openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton D. Adams" <tr...@trentonadams.ca>
Subject Re: ClassNotFoundException enhancer
Date Thu, 27 May 2010 07:45:22 GMT
This seems identical to another guy's problem, which was unresolved.
http://openjpa.208410.n2.nabble.com/ClassNotFoundException-in-PCEnhancerTask-when-class-has-already-been-enhanced-td5010582.html


----- "Trenton D. Adams" <trent@trentonadams.ca> wrote:

> From: "Trenton D. Adams" <trent@trentonadams.ca>
> To: "openjpa-users" <users@openjpa.apache.org>
> Sent: Wednesday, May 26, 2010 2:54:11 PM GMT -07:00 US/Canada Mountain
> Subject: 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.

Mime
View raw message