Compilation of Java Actions failed / How can I solve this problem?

0
C:\Users\Oktay Abi\Mendix\SSS-main\javasource\communitycommons\ORM.java:53: error: cannot find symbol         return object.hasChangedMemberValue(context);                     ^  symbol:   method hasChangedMemberValue(IContext)  location: variable object of type IMendixObjectC:\Users\Oktay Abi\Mendix\SSS-main\javasource\communitycommons\ORM.java:79: error: cannot find symbol        return item.getMember(context, member).isValueChanged(context);                                              ^  symbol:   method isValueChanged(IContext)  location: interface IMendixObjectMember<CAP#1>  where CAP#1 is a fresh type-variable:    CAP#1 extends Object from capture of ?Note: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.2 errors FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':compile'.> Compilation failed; see the compiler error output for details. * Try:> Run with --scan to get full insights. BUİLD FAILED in 6s
asked
1 answers
1

Hi Kamil,

 

Did you upgrade CommunityCommons recently?

I think this error happens because there are some libraries (.jar files) in your userlib folder that have multiple versions:

 

  1. Go to your project in the file explorer (App -> Show App Directory In Explorer)
  2. Go to the userlib folder.
  3. Try to find files that have the same name but a different version. 
    1. For example: commons-lang3-3.10.jar and commons-lang3-3.11.jar are the same library but different versions (3.10 and 3.11).
  4. Delete the lowest versions and the .RequiredLib files that have this version as well.
    1. In the example above this will be commons-lang3-3.10.jar and a possible .RequiredLib file: commons-lang3-3.10.jar.CommunityCommons.RequiredLib.
  5. My guess would be that it's one or more of the .jar files that start with commons.
  6. Try to run the project again.

Let me know if this works!

 

Hope this helps!

Pedro Voorwinden

answered