
| Key: |
OPENJPA-256
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Bernd Bohmann
|
| Votes: |
0
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Environment:
|
jetty 6.1.3 jdk 1.5 spring 2.0.5 openjpa 1.0.0-SNAPSHOT maven 2.0.5
|
|
| Resolution Date: |
21/Aug/07 03:22 PM
|
|
Get a ClassNotFoundException: org.apache.openjpa.util.CacheMap.
I think the java.util.Map in Line 1405
queryCompilationCachePlugin.instantiate(Map.class, this);
of OpenJPAConfigurationImpl cause the error.
The classloader in this enviroment is a sun.misc.Launcher$AppClassLoader for java.util.Map not a WebAppClassLoader.
Changing the Map.class to CacheMap.class solves the problem (the right ClassLoader is used)
|
|
Description
|
Get a ClassNotFoundException: org.apache.openjpa.util.CacheMap.
I think the java.util.Map in Line 1405
queryCompilationCachePlugin.instantiate(Map.class, this);
of OpenJPAConfigurationImpl cause the error.
The classloader in this enviroment is a sun.misc.Launcher$AppClassLoader for java.util.Map not a WebAppClassLoader.
Changing the Map.class to CacheMap.class solves the problem (the right ClassLoader is used) |
Show » |
| No work has yet been logged on this issue.
|
|