Hi Aaron

On Sep 18, 2009, at 3:54 PM, Aaron Porter wrote:

> Stripersist pulls info from the persistence.xml file to try to  
> figure out what classes to use. If it can't find those it tries to  
> find entities in the classpath looking through both jars and class  
> files. It /should/ work like you're expecting it to. What servlet  
> engine are you using? Are the jars that need to be scanned stored  
> under /WEB-INF/lib?

I'm using Tomcat 6 with MySQL.

As I remember, the jar was stored under WEB-INF/lib.   I had my hands  
full with Stripes/Stripersist at the time, so I just moved the  
classes out of the jar to get some momentum.

I think there was a persistence.xml file in the jar and that seemed  
to cause some problems.  I think the logs noted it was "found", but I  
don't think it was "scanned".

I think I repackaged the archive without that xml file and moved the  
configuration into the META-INF directory as per the example.   That  
didn't work (and you're probably saying to yourselves, "No wonder!").

It sounds like you're on to a solution, though.

Thanks very much for the quick feedback.





------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to