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
  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]
  2. 0

    org.apache.openjpa.lib.util.ParseException: Equivalent property keys "openjpa.ConnectionUserName" and "javax.persistence.jdbc.user" are specified

    Stack Overflow | 3 years ago | Isma90
    org.apache.openjpa.lib.util.ParseException: Equivalent property keys "openjpa.ConnectionUserName" and "javax.persistence.jdbc.user" are specified in configuration.
  3. 0

    org.apache.openjpa.lib.util.ParseException: Equivalent property keys "openjpa.ConnectionUserName" and "javax.persistence.jdbc.user" are specified

    Stack Overflow | 3 years ago | Isma90
    org.apache.openjpa.persistence.PersistenceException: There was an error when invoking the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory". See the nested exception for details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>

    Oracle Community | 10 years ago | 666705
    org.apache.openjpa.lib.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)

    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