hi,

i moved persistence.xml to src/resources/META-INF.

however, the original problem persists -- i receive a
NullPointerException on the call:

Stripersist.getEntityManager();

further information: i'm getting this exception when
executing a Junit test of a DAO class -- i'm not
executing web code (action beans, etc). would that
contribute to the problem?

any suggestions welcomed.

thank you,
lev


On Tue, Jul 6, 2010 at 11:59 AM, Aaron Porter <aa...@mongus.com> wrote:
> Oops! Thanks for catching that Marcus!
>
> Aaron
>
> On 07/06/2010 09:09 AM, M.C.S. wrote:
>> Hi,
>>
>> Aaron Porter wrote:
>>
>>> If you're using Eclipse I recommend creating a source directory named
>>> resources and then creating a subdirectory named WEB-INF and placing
>>> persistence.xml in there.
>>>
>>>
>> Surely just a typo, but it surely should be named META-INF. I really
>> hate these standard folder names :-)
>>
>> Best wishes
>> Marcus
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to