on 2023 Jun 21 4:25 PM
Good morning,
I migrate to sao commerce 2211. I have problem with Cloud Hot Folder Extensions .
I download the 2211 versione, I try to compile, but i have this error.
AbstractMonitoringAspect.java:70: error: incompatible types: String cannot be converted to Marker
[yjavac] LOG.warn("No MonitorHistory within the thread, cannot add action Code [{}] Status [{}] started [{}]", code, status, started);
DataImportUnzippedFolderImportService.java:60: error: incompatible types: String cannot be converted to Marker
[yjavac] LOG.info("directory [{}] didn't contain the required subfolder [{}] for importService [{}]", unzippedAs, this.getRequiredSubdirectory(), importService);
ZipHeaderExecutionTask.java:53: error: incompatible types: String cannot be converted to Marker
[yjavac] LOG.debug("zip [{}] didn't match pattern [{}] for [{}]", zipFileName, pattern, service);
I can't modify this class, because it is part of clout hot folder extension.Could you help me?ThanksStefania
Request clarification before answering.
remove cloudhotfolder/lib/slf4j-api-1.6.6.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ran into the same issue with some other topic. I removed it with a buildcallback.
Use the macrodef after_build_all_extensions calling the macrodef for removing the lib you want to get rid of.
<macrodef name="extension_after_build_all_extensions">
<sequential>
<removeOld_jgrapht/>
</sequential>
</macrodef>
The macrodef to remove the library looks something like this
<macrodef name="removeOld_jgrapht">
<sequential>
<if>
<available file="${ext.cockpit.path}/lib/jgrapht-jdk1.6-0.8.2.jar"/>
<then>
<echo> Moving ${ext.cockpit.path}/lib/jgrapht-jdk1.6-0.8.2.jar so it's not recognized any more </echo>
<move file="${ext.cockpit.path}/lib/jgrapht-jdk1.6-0.8.2.jar"
tofile="${ext.cockpit.path}/lib-removed/jgrapht-jdk1.6-0.8.2.jar"/>
</then>
<else>
<echo> jgrapht-jdk1.6-0.8.2.jar already moved to ${ext.cockpit.path}/lib-removed </echo>
</else>
</if>
</sequential>
</macrodef>
I didn't want to remove it so I moved it into a separate folder named lib-removed.
You also could simply delete it with
<delete file="${ext.cockpit.path}/lib/jgrapht-jdk1.6-0.8.2.jar" />
Hope this helps.
Hi,
Any fix for this issue ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you also download cloud hot folder extensions for 2211 (see note 2817992)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.