Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    10.1 compilation error

    SmartClient Version: SNAPSHOT_v10.1p_2015-12-10/Enterprise Development Only (built 2015-12-10)

    Hello, I've got compilation errors while trying 10.1:

    Error:Error:line (35)java: cannot access org.apache.commons.collections.map.AbstractMapDecorator
    class file for org.apache.commons.collections.map.AbstractMapDecorator not found
    Error:Error:line (36)java: method setValues in class com.isomorphic.datasource.DSRequest cannot be applied to given types;
    required: java.lang.Object
    found: com.isomorphic.collections.DataTypeMap
    reason: actual argument com.isomorphic.collections.DataTypeMap cannot be converted to java.lang.Object by method invocation conversion
    Error:Error:line (43)java: no suitable method found for setCriteria(com.isomorphic.collections.DataTypeMap)
    method com.isomorphic.datasource.DSRequest.setCriteria(java.lang.String,java.lang.Object) is not applicable
    (actual and formal argument lists differ in length)
    method com.isomorphic.datasource.DSRequest.setCriteria(java.lang.Object) is not applicable
    (actual argument com.isomorphic.collections.DataTypeMap cannot be converted to java.lang.Object by method invocation conversion)
    Error:Error:line (49)java: method setValues in class com.isomorphic.datasource.DSRequest cannot be applied to given types;
    required: java.lang.Object
    found: com.isomorphic.collections.DataTypeMap
    reason: actual argument com.isomorphic.collections.DataTypeMap cannot be converted to java.lang.Object by method invocation conversion
    is it a bug, or something has changed? Maybe some dependencies?

    #2
    This looks as though you didn't take the new .jars in the 10.1 version, so you are still using an older version Apache commons, or may even have two versions on your classpath.

    Comment


      #3
      Sorry, actually it compiled on the build machine, it was a problem with the setup of my (just updated) IntelliJ (commons collections library wasn't on the classpath).

      Comment

      Working...
      X