org.apache.openjpa.lib.util.ParseException: Instantiation of plugin "QueryCompilationCache" with value "true" caused an error "java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.apache.openjpa.util.CacheMap". The alias or class name may have been misspelled (as it closely matches the valid plugin alias "true"), or the class may not be available in the class path. Valid aliases for this plugin are: [all, false, true]

tuscany-user | Moberg Dale | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: Helloword-bpel initialization issues, follow up information

    tuscany-user | 9 years ago | Moberg Dale
    org.apache.openjpa.lib.util.ParseException: Instantiation of plugin "QueryCompilationCache" with value "true" caused an error "java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.apache.openjpa.util.CacheMap". The alias or class name may have been misspelled (as it closely matches the valid plugin alias "true"), or the class may not be available in the class path. Valid aliases for this plugin are: [all, false, true]

    Root Cause Analysis

    1. org.apache.openjpa.lib.util.ParseException

      Instantiation of plugin "QueryCompilationCache" with value "true" caused an error "java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.apache.openjpa.util.CacheMap". The alias or class name may have been misspelled (as it closely matches the valid plugin alias "true"), or the class may not be available in the class path. Valid aliases for this plugin are: [all, false, true]

      at org.apache.openjpa.lib.conf.Configurations.getCreateException()
    2. OpenJPA Aggregate Jar
      OpenJPAConfigurationImpl.getQueryCompilationCacheInstance
      1. org.apache.openjpa.lib.conf.Configurations.getCreateException(Configurations.java:341)
      2. org.apache.openjpa.lib.conf.Configurations.newInstance(Configurations.java:198)
      3. org.apache.openjpa.lib.conf.ObjectValue.newInstance(ObjectValue.java:103)
      4. org.apache.openjpa.conf.QueryCompilationCacheValue.newInstance(QueryCompilationCacheValue.java:57)
      5. org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:101)
      6. org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:79)
      7. org.apache.openjpa.conf.OpenJPAConfigurationImpl.getQueryCompilationCacheInstance(OpenJPAConfigurationImpl.java:1402)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. OpenJPA Aggregate Jar
      ConfigurationImpl.instantiateAll
      1. org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:282)
      1 frame