You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Bernd Bohmann (JIRA)" <ji...@apache.org> on 2007/08/13 22:41:30 UTC
[jira] Updated: (OPENJPA-256) java.lang.ClassNotFoundException:
org.apache.openjpa.util.CacheMap in a jetty spring environment
[ https://issues.apache.org/jira/browse/OPENJPA-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Bohmann updated OPENJPA-256:
----------------------------------
Attachment: OPENJPA256.patch
patch attached
> java.lang.ClassNotFoundException: org.apache.openjpa.util.CacheMap in a jetty spring environment
> ------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-256
> URL: https://issues.apache.org/jira/browse/OPENJPA-256
> Project: OpenJPA
> Issue Type: Bug
> Environment: jetty 6.1.3 jdk 1.5 spring 2.0.5 openjpa 1.0.0-SNAPSHOT maven 2.0.5
> Reporter: Bernd Bohmann
> Fix For: 1.0.0
>
> Attachments: OPENJPA-256.error.log, OPENJPA256.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.