[ https://issues.apache.org/jira/browse/CAMEL-21093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-21093: -------------------------------- Priority: Minor (was: Major) > fhir auth x springboot example is failing with ClassNotFoundException: > org.apache.commons.io.function.Uncheck > ------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-21093 > URL: https://issues.apache.org/jira/browse/CAMEL-21093 > Project: Camel > Issue Type: Bug > Components: camel-csv, camel-fhir, examples > Affects Versions: 4.7.0 > Reporter: Aurélien Pupier > Assignee: Aurélien Pupier > Priority: Minor > Fix For: 4.8.0 > > Attachments: image-2024-08-16-16-16-30-310.png > > > https://github.com/apache/camel-spring-boot-examples/tree/main/fhir-auth-tx > {noformat} > [ERROR] Failures: > [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir > [ERROR] Run 1: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > [ERROR] Run 2: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > [ERROR] Run 3: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > {noformat} > {noformat} > java.lang.NoClassDefFoundError: org/apache/commons/io/function/Uncheck > at > org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(CSVParser.java:149) > ~[commons-csv-1.11.0.jar:1.11.0] > at > org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(CSVParser.java:158) > ~[commons-csv-1.11.0.jar:1.11.0] > at > org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.asList(CsvUnmarshaller.java:123) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.unmarshal(CsvUnmarshaller.java:115) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.dataformat.csv.CsvDataFormat.unmarshal(CsvDataFormat.java:100) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:81) > ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:808) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:714) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.doRun(DefaultReactiveExecutor.java:199) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.executeReactiveWork(DefaultReactiveExecutor.java:189) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.tryExecuteReactiveWork(DefaultReactiveExecutor.java:166) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:59) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at org.apache.camel.processor.Pipeline.process(Pipeline.java:163) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.CamelInternalProcessor.processNonTransacted(CamelInternalProcessor.java:346) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:322) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:457) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:243) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:204) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:205) > ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:119) > ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) > ~[na:na] > at > java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) > ~[na:na] > at > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) > ~[na:na] > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) > ~[na:na] > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > ~[na:na] > at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na] > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.io.function.Uncheck > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) > ~[na:na] > at > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) > ~[na:na] > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) > ~[na:na] > ... 27 common frames omitted > {noformat} > !image-2024-08-16-16-16-30-310.png! > Uncheck class was added in commons-io 2.12.0 > https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/function/Uncheck.html > so between the 2 conflicting versions. -- This message was sent by Atlassian Jira (v8.20.10#820010)