You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Miroslav Nachev <mi...@space-comm.com> on 2007/12/02 00:07:13 UTC
Can not compile OpenJPA
Hi,
When I try to compile 1.1.0-SNAPSHOT OpenJPA version I have the following
error:
<openjpa-1.1.0-SNAPSHOT-rexported fatal store error>
org.apache.openjpa.util.StoreException:
Cannot create PoolableConnectionFactory (Failed to create database
'target/database/openjpa-derby-database'
, see the next exception for details.)
Any ideas how to solve that?
There another errors related with the fact that some of the sub-projects are
not included in the main Maven project. I am solved this manually but it is
good if this is fixed into the repository.
Miro.
Re: Can not compile OpenJPA
Posted by Michael Dick <mi...@gmail.com>.
Hi Miro,
Are there any nested exceptions? Derby is attempting to create the
openjpa-persistence-jdbc/target/database/openjpa-derby-database directory
but something went wrong. It's hard to tell what happened without the nested
exception from Derby.
If the nested exception isn't printed when you run the command you can try
looking in the openjpa-persistence-jdbc/target/surfire-reports directory.
There should be a TEST-???.xml file for the failing testcase. That has more
information.
I'm not sure what you mean regarding the sub projects. Looking at
trunk/pom.xml it looks like everything should be included when you use jdk
5.
. . .
<modules>
<module>openjpa-lib</module>
<module>openjpa-kernel</module>
<module>openjpa-jdbc</module>
<module>openjpa-xmlstore</module>
<module>openjpa-all</module>
<module>openjpa-project</module>
<module>openjpa-integration</module>
</modules>
<profiles>
<profile>
<id>jdk1.5</id>
<activation>
<jdk>1.5</jdk>
</activation>
<modules>
<module>openjpa-lib-5</module>
<module>openjpa-persistence</module>
<module>openjpa-persistence-jdbc</module>
<module>openjpa-kernel-5</module>
<module>openjpa-jdbc-5</module>
<module>openjpa-examples</module>
</modules>
</profile>
. . .
-Mike
On Dec 1, 2007 5:07 PM, Miroslav Nachev <mi...@space-comm.com> wrote:
> Hi,
>
> When I try to compile 1.1.0-SNAPSHOT OpenJPA version I have the following
> error:
>
> <openjpa-1.1.0-SNAPSHOT-rexported fatal store error>
> org.apache.openjpa.util.StoreException:
> Cannot create PoolableConnectionFactory (Failed to create database
> 'target/database/openjpa-derby-database'
> , see the next exception for details.)
>
>
> Any ideas how to solve that?
>
> There another errors related with the fact that some of the sub-projects
> are
> not included in the main Maven project. I am solved this manually but it
> is
> good if this is fixed into the repository.
>
>
> Miro.
>