Hi crowd

I am moving slowly forward. Now I have taken the leap out of experimenting 
within a tutorial and try to create a Qi4j maven project from scratch.

With some excellent help from IntelliJ I think I have the dependencies correct 
- it all compiles well etc. However, when I try to run (the unit tests), I get
<snip>
No provider found for interface org.qi4j.bootstrap.Qi4jRuntime.

org.qi4j.bootstrap.BootstrapException: No Qi4j runtime providers found.
        at org.qi4j.bootstrap.Energy4Java.findQi4jRuntime(Energy4Java.java:96)
        at org.qi4j.bootstrap.Energy4Java.<init>(Energy4Java.java:57)
        at 
org.qi4j.bootstrap.SingletonAssembler.<init>(SingletonAssembler.java:54)
        at tmpentity.HelloWorldTest$1.<init>(HelloWorldTest.java:28)
</snip>

I have tried to figure out what I shall do to get the runtime in place, but 
seem to fail.

Can someone give me a hint?

   Dan

________________________________________
Från: [email protected] [[email protected]] 
f&#246;r Rickard Öberg [[email protected]]
Skickat: den 3 oktober 2010 13:52
Till: [email protected]
Ämne: Re: [qi4j-dev] Newbie: adding an entity store

On 2010-10-03 19.40, Stanislav Muhametsin wrote:
> Quoting Dan Bergh Johnsson <[email protected]>:
>
>> Thanks!
>>
>> You have got me rolling again.
>>
>> If I turn my unit-tests into a simple webapp, what would my "next"
>> entitystore be then?
>>
>> Yours
>>
>
> It would be any entitystore which uses actually persistent storage to
> save entities to. org.qi4j.entitystore.jdbm.JdbmEntityStoreService (in
> qi4j-extensions) might be next step, since it is to my knowledge the
> most simple persistent entitystore in Qi4j.

Yeah, that's the one I use in production. Simple key-value store,
non-distributed. There's a whole bunch of more advanced versions, which
use e.g. Neo4j, Hazelcast, JavaSpaces, etc. Check out qi4j-extensions
and qi4j-sandbox for more options.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to