Hi,

I am grappling with an error running openjpa 2.2.0 with spring
3.2.1.RELEASE and spring data jpa 1.1.2.RELEASE, all from the maven
repository.
Any help would be very much appreciated as I can find nothing on this
problem on the web.

when running the unit tests I get the following error

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0':
Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'entityManagerFactory' defined in class path resource
[jpa/jpa.context.xml]: Invocation of init method failed; nested exception
is <openjpa-2.2.0-r422266:1244990 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: "jpa " is not valid
Specification. The correct format is <name> [<major>[.<minor>]] where
<name> is the name of the Specification, <major> is the integer major
version number and <minor> is a string.

at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)

... stack trace omitted ...

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'entityManagerFactory' defined in class path
resource [jpa/jpa.context.xml]: Invocation of init method failed; nested
exception is <openjpa-2.2.0-r422266:1244990 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: "jpa " is not valid
Specification. The correct format is <name> [<major>[.<minor>]] where
<name> is the name of the Specification, <major> is the integer major
version number and <minor> is a string.

at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)

... stack trace omitted ...

Caused by: <openjpa-2.2.0-r422266:1244990 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: "jpa " is not valid
Specification. The correct format is <name> [<major>[.<minor>]] where
<name> is the name of the Specification, <major> is the integer major
version number and <minor> is a string.

at org.apache.openjpa.conf.Specification.<init>(Specification.java:64)
at
org.apache.openjpa.conf.SpecificationPlugin.setString(SpecificationPlugin.java:61)
at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.setSpecification(OpenJPAConfigurationImpl.java:658)

... stack trace omitted ...

Alexander

Reply via email to