Author: ppoddar Date: Fri Sep 28 20:14:34 2012 New Revision: 1391630 URL: http://svn.apache.org/viewvc?rev=1391630&view=rev Log: Add some solution hint in the error message
Modified: openjpa/trunk/openjpa-kernel/src/main/resources/org/apache/openjpa/conf/localizer.properties Modified: openjpa/trunk/openjpa-kernel/src/main/resources/org/apache/openjpa/conf/localizer.properties URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/resources/org/apache/openjpa/conf/localizer.properties?rev=1391630&r1=1391629&r2=1391630&view=diff ============================================================================== --- openjpa/trunk/openjpa-kernel/src/main/resources/org/apache/openjpa/conf/localizer.properties (original) +++ openjpa/trunk/openjpa-kernel/src/main/resources/org/apache/openjpa/conf/localizer.properties Fri Sep 28 20:14:34 2012 @@ -617,13 +617,14 @@ cache-marshaller-not-found: No cache mar cache-marshaller-found: Cache marshaller of type {1} found for id {0}. spec-different: A different Specification "{0}" has overwritten the current \ Specification "{1}". -spec-version-higher: Attempt to set a higer Specification "{0}" version failed. \ +spec-version-higher: Attempt to set a higher Specification "{0}" version failed. \ The Specification is already set to "{1}". spec-version-lower: Specification is set to a lower version "{0}" than the \ current Specification "{1}". spec-wrong-format: "{0}" 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. + <major> is the integer major version number and <minor> is a string. \ + A possible cause is persistence.xml does not specify a version. spec-wrong-version-format: "{0}" is not a valid version for Specification. The \ correct version format is "<major>[.<minor>]" where <major> is the integer \ major version number and <minor> is a string.