From bc9422ea5d04f5432989a973b94771cd864a9b50 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Sun, 1 Oct 2006 01:28:25 +0000 Subject: [PATCH] improved error message git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@451707 13f79535-47bb-0310-9956-ffa450edef68 --- .../resources/org/apache/openjpa/meta/localizer.properties | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties b/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties index b68691387..08a6030ae 100644 --- a/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties +++ b/openjpa-kernel/src/main/resources/org/apache/openjpa/meta/localizer.properties @@ -268,6 +268,9 @@ pc-and-aware: Attempt to register "{0}" as a persistence-aware class failed. \ not-non-mapped: Type "{0}" cannot be a non-mapped interface as the class is \ not an interface non-mapped-pc: A non-mapped interface cannot also be mapped. -no-metadatafactory: No configuration properties were found. If you are \ +no-metadatafactory: MetaDataFactory could not be configured \ + (conf.newMetaDataFactoryInstance() returned null). This might mean that \ + no configuration properties were found. If you are \ using Ant, please see the or attributes \ - of the task''s nested element. + of the task''s nested element. This can also occur if your \ + OpenJPA distribution jars are corrupt.