
| Key: |
OPENJPA-60
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
David Ezzio
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
06/Feb/07 03:03 AM
|
|
If "kodo.persistence.PersistenceProviderImpl" is specified instead of "org.apache.openjpa.persistence.PersistenceProviderImpl", a misleading error message results that suggests that the persistence.xml file is missing or cannot be found.
enhance:
[java] Exception in thread "main" java.util.MissingResourceException: org.apache.openjpa.persistence.PersistenceProductDerivation:java.util.MissingResourceException: The specified XML resource "META-INF/persistence.xml" for persistence unit "null" can't be found in your class path.
[java] at org.apache.openjpa.lib.conf.ProductDerivations.reportErrors(ProductDerivations.java:217)
[java] at org.apache.openjpa.lib.conf.ProductDerivations.load(ProductDerivations.java:135)
[java] at org.apache.openjpa.lib.conf.Configurations.populateConfiguration(Configurations.java:198)
[java] at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:3468)
[java] at org.apache.openjpa.enhance.PCEnhancer.main(PCEnhancer.java:3441)
|
|
Description
|
If "kodo.persistence.PersistenceProviderImpl" is specified instead of "org.apache.openjpa.persistence.PersistenceProviderImpl", a misleading error message results that suggests that the persistence.xml file is missing or cannot be found.
enhance:
[java] Exception in thread "main" java.util.MissingResourceException: org.apache.openjpa.persistence.PersistenceProductDerivation:java.util.MissingResourceException: The specified XML resource "META-INF/persistence.xml" for persistence unit "null" can't be found in your class path.
[java] at org.apache.openjpa.lib.conf.ProductDerivations.reportErrors(ProductDerivations.java:217)
[java] at org.apache.openjpa.lib.conf.ProductDerivations.load(ProductDerivations.java:135)
[java] at org.apache.openjpa.lib.conf.Configurations.populateConfiguration(Configurations.java:198)
[java] at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:3468)
[java] at org.apache.openjpa.enhance.PCEnhancer.main(PCEnhancer.java:3441)
|
Show » |
made changes - 06/Feb/07 03:03 AM
| Field |
Original Value |
New Value |
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
made changes - 01/Mar/07 02:13 AM
|
Fix Version/s
|
|
0.9.7
[ 12312340
]
|
|