Found it myself.

I was under the misconception that qi4j-core-bootstrap contained runtime 
support. Now I have realised that <artifactId>qi4j-core-runtime</artifactId> is 
also needed.

Sorry

   DDDan
________________________________________
Från: [email protected] [[email protected]] 
f&#246;r Dan Bergh Johnsson [[email protected]]
Skickat: den 5 oktober 2010 19:26
Till: [email protected]
Ämne: Re: [qi4j-dev] Newbie: getting the runtime going

>> Can someone give me a hint?

>What does your dependencies look like?


My dependencies are probably way to slim:

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.4</version>
        </dependency>
        <dependency>
            <groupId>org.qi4j.core</groupId>
            <artifactId>qi4j-core-bootstrap</artifactId>
            <version>1.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.qi4j.library</groupId>
            <artifactId>qi4j-lib-constraints</artifactId>
            <version>1.2-SNAPSHOT</version>
        </dependency>
    </dependencies>

Yours

  Dan
________________________________________
Från: [email protected] [[email protected]] 
f&#246;r Rickard Öberg [[email protected]]
Skickat: den 5 oktober 2010 16:41
Till: [email protected]
Ämne: Re: [qi4j-dev] Newbie: getting the runtime going

On 2010-10-05 22.31, Dan Bergh Johnsson wrote:
> 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?

What does your dependencies look like?

/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

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

Reply via email to