Java Compilation error while download community commons in 10.18.4

0
I got this error in version 10.18.4 while importing the community common from the marketpalce and run I have this java compilation error     C:\Users\Dell\Mendix\Blank-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\Dell\Mendix\Blank-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 ?C:\Users\Dell\Mendix\Blank-main\javasource\communitycommons\StringUtils.java:231: error: cannot find symbol        return IOUtils.toString(BOMInputStream.builder().setInputStream(inputStream).get(), charset);                                              ^  symbol:   method builder()  location: class BOMInputStreamNote: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.3 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. BUILD FAILED in 5s      
asked
1 answers
0

You probably have more than one version of commons-io-X.X.X.jar in your application. Check your userlib and vendorlib and make sure you only have one copy. If there is more than one, keep the version in vendorlib. If not in vendorlib, keep the highest version in userlib. Finally, clean your deployment directory before rebuilding incase an older version has been cached there.

 

Good luck! 

answered