Hi all
I have this project GitHub - ghitacornel/testApacheCamel
|
|
|
| | |
|
|
|
| |
GitHub - ghitacornel/testApacheCamel
Contribute to ghitacornel/testApacheCamel development by creating an account on
GitHub.
|
|
|
for test purpose.
While trying to test some examples with latest Apache Camel + Spring Boot, I
keep on getting"...java.lang.IllegalStateException: Failed to load
ApplicationContext
...Caused by:
org.apache.camel.spring.boot.CamelSpringBootInitializationException:
java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in
classpath supporting file extension: txt =>> !!! or json
..."This exception happens only when running these tests =>
camel.ParallelRouteTest + camel.CsvJsonXmlRouteTest
Any advice ? things that i missed in my configurations ?
When running the Main Spring Boot class these applications work as expected.
This issue occurs only when running those 2 tests.I attached the full log also
BRCornel
C:\Users\cornel\.jdks\openjdk-17.0.2\bin\java.exe -ea
-Didea.test.cyclic.buffer.size=1048576
-javaagent:D:\tools\idea\lib\idea_rt.jar=55367:D:\tools\idea\bin
-Dfile.encoding=UTF-8 -classpath
C:\Users\cornel\.m2\repository\org\junit\platform\junit-platform-launcher\1.8.2\junit-platform-launcher-1.8.2.jar;D:\tools\idea\lib\idea_rt.jar;D:\tools\idea\plugins\junit\lib\junit5-rt.jar;D:\tools\idea\plugins\junit\lib\junit-rt.jar;D:\work\tests\testApacheCamel\parallel-processing\target\test-classes;D:\work\tests\testApacheCamel\parallel-processing\target\classes;C:\Users\cornel\.m2\repository\org\apache\camel\camel-endpointdsl\3.17.0\camel-endpointdsl-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-core-engine\3.17.0\camel-core-engine-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-api\3.17.0\camel-api-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-base-engine\3.17.0\camel-base-engine-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-base\3.17.0\camel-base-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-core-reifier\3.17.0\camel-core-reifier-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-core-model\3.17.0\camel-core-model-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-core-processor\3.17.0\camel-core-processor-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-management-api\3.17.0\camel-management-api-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-support\3.17.0\camel-support-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-util\3.17.0\camel-util-3.17.0.jar;C:\Users\cornel\.m2\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-spring-boot-starter\3.17.0\camel-spring-boot-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot-starter\2.7.1\spring-boot-starter-2.7.1.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot\2.7.1\spring-boot-2.7.1.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-context\5.3.21\spring-context-5.3.21.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.7.1\spring-boot-autoconfigure-2.7.1.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.7.1\spring-boot-starter-logging-2.7.1.jar;C:\Users\cornel\.m2\repository\ch\qos\logback\logback-classic\1.2.11\logback-classic-1.2.11.jar;C:\Users\cornel\.m2\repository\ch\qos\logback\logback-core\1.2.11\logback-core-1.2.11.jar;C:\Users\cornel\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.17.2\log4j-to-slf4j-2.17.2.jar;C:\Users\cornel\.m2\repository\org\apache\logging\log4j\log4j-api\2.17.2\log4j-api-2.17.2.jar;C:\Users\cornel\.m2\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;C:\Users\cornel\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\cornel\.m2\repository\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-spring-boot\3.17.0\camel-spring-boot-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-spring\3.17.0\camel-spring-3.17.0.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-aop\5.3.21\spring-aop-5.3.21.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-beans\5.3.21\spring-beans-5.3.21.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-expression\5.3.21\spring-expression-5.3.21.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-tx\5.3.21\spring-tx-5.3.21.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-spring-main\3.17.0\camel-spring-main-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-main\3.17.0\camel-main-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-xml-jaxb-dsl\3.17.0\camel-xml-jaxb-dsl-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-dsl-support\3.17.0\camel-dsl-support-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-cloud\3.17.0\camel-cloud-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-cluster\3.17.0\camel-cluster-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-health\3.17.0\camel-health-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-core-starter\3.17.0\camel-core-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-bean-starter\3.17.0\camel-bean-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-bean\3.17.0\camel-bean-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-browse-starter\3.17.0\camel-browse-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-browse\3.17.0\camel-browse-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-controlbus-starter\3.17.0\camel-controlbus-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-controlbus\3.17.0\camel-controlbus-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-dataformat-starter\3.17.0\camel-dataformat-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-dataformat\3.17.0\camel-dataformat-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-dataset-starter\3.17.0\camel-dataset-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-dataset\3.17.0\camel-dataset-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-direct-starter\3.17.0\camel-direct-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-direct\3.17.0\camel-direct-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-directvm-starter\3.17.0\camel-directvm-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-directvm\3.17.0\camel-directvm-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-file-starter\3.17.0\camel-file-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-file\3.17.0\camel-file-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-language-starter\3.17.0\camel-language-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-language\3.17.0\camel-language-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-log-starter\3.17.0\camel-log-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-log\3.17.0\camel-log-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-mock-starter\3.17.0\camel-mock-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-mock\3.17.0\camel-mock-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-ref-starter\3.17.0\camel-ref-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-ref\3.17.0\camel-ref-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-rest-starter\3.17.0\camel-rest-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-rest\3.17.0\camel-rest-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-tooling-model\3.17.0\camel-tooling-model-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-util-json\3.17.0\camel-util-json-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-saga-starter\3.17.0\camel-saga-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-saga\3.17.0\camel-saga-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-scheduler-starter\3.17.0\camel-scheduler-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-scheduler\3.17.0\camel-scheduler-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-seda-starter\3.17.0\camel-seda-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-seda\3.17.0\camel-seda-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-stub-starter\3.17.0\camel-stub-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-stub\3.17.0\camel-stub-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-timer-starter\3.17.0\camel-timer-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-timer\3.17.0\camel-timer-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-validator-starter\3.17.0\camel-validator-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-validator\3.17.0\camel-validator-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-vm-starter\3.17.0\camel-vm-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-vm\3.17.0\camel-vm-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-xpath-starter\3.17.0\camel-xpath-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-xpath\3.17.0\camel-xpath-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-xslt-starter\3.17.0\camel-xslt-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-xslt\3.17.0\camel-xslt-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-xml-jaxp-starter\3.17.0\camel-xml-jaxp-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-xml-jaxp\3.17.0\camel-xml-jaxp-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-xml-io-util\3.17.0\camel-xml-io-util-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\springboot\camel-debug-starter\3.17.0\camel-debug-starter-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-debug\3.17.0\camel-debug-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-management\3.17.0\camel-management-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-xml-jaxb\3.17.0\camel-xml-jaxb-3.17.0.jar;C:\Users\cornel\.m2\repository\com\sun\xml\bind\jaxb-core\2.3.0\jaxb-core-2.3.0.jar;C:\Users\cornel\.m2\repository\com\sun\xml\bind\jaxb-impl\2.3.3\jaxb-impl-2.3.3.jar;C:\Users\cornel\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\cornel\.m2\repository\org\projectlombok\lombok\1.18.24\lombok-1.18.24.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.7.1\spring-boot-starter-test-2.7.1.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot-test\2.7.1\spring-boot-test-2.7.1.jar;C:\Users\cornel\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.1\spring-boot-test-autoconfigure-2.7.1.jar;C:\Users\cornel\.m2\repository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;C:\Users\cornel\.m2\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;C:\Users\cornel\.m2\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;C:\Users\cornel\.m2\repository\org\ow2\asm\asm\9.1\asm-9.1.jar;C:\Users\cornel\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\cornel\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\cornel\.m2\repository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;C:\Users\cornel\.m2\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;C:\Users\cornel\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;C:\Users\cornel\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;C:\Users\cornel\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\cornel\.m2\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;C:\Users\cornel\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\cornel\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;C:\Users\cornel\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;C:\Users\cornel\.m2\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;C:\Users\cornel\.m2\repository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;C:\Users\cornel\.m2\repository\net\bytebuddy\byte-buddy\1.12.11\byte-buddy-1.12.11.jar;C:\Users\cornel\.m2\repository\net\bytebuddy\byte-buddy-agent\1.12.11\byte-buddy-agent-1.12.11.jar;C:\Users\cornel\.m2\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;C:\Users\cornel\.m2\repository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;C:\Users\cornel\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\cornel\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-core\5.3.21\spring-core-5.3.21.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-jcl\5.3.21\spring-jcl-5.3.21.jar;C:\Users\cornel\.m2\repository\org\springframework\spring-test\5.3.21\spring-test-5.3.21.jar;C:\Users\cornel\.m2\repository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-test-spring-junit5\3.17.0\camel-test-spring-junit5-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-test-junit5\3.17.0\camel-test-junit5-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-core-languages\3.17.0\camel-core-languages-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-spring-xml\3.17.0\camel-spring-xml-3.17.0.jar;C:\Users\cornel\.m2\repository\org\apache\camel\camel-core-xml\3.17.0\camel-core-xml-3.17.0.jar;C:\Users\cornel\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar
com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit5 camel.ParallelRouteTest
15:51:35.573 [main] DEBUG org.springframework.test.context.BootstrapUtils -
Instantiating CacheAwareContextLoaderDelegate from class
[org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
15:51:35.580 [main] DEBUG org.springframework.test.context.BootstrapUtils -
Instantiating BootstrapContext using constructor [public
org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
15:51:35.609 [main] DEBUG org.springframework.test.context.BootstrapUtils -
Instantiating TestContextBootstrapper for test class [camel.ParallelRouteTest]
from class
[org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
15:51:35.617 [main] INFO
org.springframework.boot.test.context.SpringBootTestContextBootstrapper -
Neither @ContextConfiguration nor @ContextHierarchy found for test class
[camel.ParallelRouteTest], using SpringBootContextLoader
15:51:35.620 [main] DEBUG
org.springframework.test.context.support.AbstractContextLoader - Did not detect
default resource location for test class [camel.ParallelRouteTest]: class path
resource [camel/ParallelRouteTest-context.xml] does not exist
15:51:35.620 [main] DEBUG
org.springframework.test.context.support.AbstractContextLoader - Did not detect
default resource location for test class [camel.ParallelRouteTest]: class path
resource [camel/ParallelRouteTestContext.groovy] does not exist
15:51:35.620 [main] INFO
org.springframework.test.context.support.AbstractContextLoader - Could not
detect default resource locations for test class [camel.ParallelRouteTest]: no
resource found for suffixes {-context.xml, Context.groovy}.
15:51:35.620 [main] INFO
org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -
Could not detect default configuration classes for test class
[camel.ParallelRouteTest]: ParallelRouteTest does not declare any static,
non-private, non-final, nested classes annotated with @Configuration.
15:51:35.653 [main] DEBUG
org.springframework.test.context.support.ActiveProfilesUtils - Could not find
an 'annotation declaring class' for annotation type
[org.springframework.test.context.ActiveProfiles] and class
[camel.ParallelRouteTest]
15:51:35.697 [main] DEBUG
org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider
- Identified candidate component class: file
[D:\work\tests\testApacheCamel\parallel-processing\target\classes\camel\ParallelSpringBootMain.class]
15:51:35.698 [main] INFO
org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found
@SpringBootConfiguration camel.ParallelSpringBootMain for test class
camel.ParallelRouteTest
15:51:35.773 [main] DEBUG
org.springframework.boot.test.context.SpringBootTestContextBootstrapper -
Merging default listeners with listeners configured via @TestExecutionListeners
for class [camel.ParallelRouteTest].
15:51:35.773 [main] INFO
org.springframework.boot.test.context.SpringBootTestContextBootstrapper -
Loaded default TestExecutionListener class names from location
[META-INF/spring.factories]:
[org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener,
org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener,
org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener,
org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener,
org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener,
org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener,
org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener,
org.springframework.test.context.web.ServletTestExecutionListener,
org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener,
org.springframework.test.context.event.ApplicationEventsTestExecutionListener,
org.springframework.test.context.support.DependencyInjectionTestExecutionListener,
org.springframework.test.context.support.DirtiesContextTestExecutionListener,
org.springframework.test.context.transaction.TransactionalTestExecutionListener,
org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener,
org.springframework.test.context.event.EventPublishingTestExecutionListener]
15:51:35.782 [main] DEBUG
org.springframework.boot.test.context.SpringBootTestContextBootstrapper -
Skipping candidate TestExecutionListener
[org.springframework.test.context.web.ServletTestExecutionListener] due to a
missing dependency. Specify custom listener classes or make the default
listener classes and their required dependencies available. Offending class:
[javax/servlet/ServletContext]
15:51:35.791 [main] INFO
org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using
TestExecutionListeners:
[org.apache.camel.test.spring.junit5.CamelSpringTestContextLoaderTestExecutionListener@8576fa0,
org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener@7582ff54,
org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener@67545b57,
org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6c2c1385,
org.springframework.test.context.event.ApplicationEventsTestExecutionListener@5f354bcf,
org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@3daf7722,
org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@78641d23,
org.springframework.test.context.support.DirtiesContextTestExecutionListener@74589991,
org.springframework.test.context.transaction.TransactionalTestExecutionListener@146dfe6,
org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4716be8b,
org.springframework.test.context.event.EventPublishingTestExecutionListener@1fc32e4f,
org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2f67b837,
org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@1869fbd2,
org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@6af9fcb2,
org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6cce16f4,
org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7efaad5a,
org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@291a7e3c]
15:51:35.822 [main] DEBUG
org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener
- Before test class: context [DefaultTestContext@4c51cf28 testClass =
ParallelRouteTest, testInstance = [null], testMethod = [null], testException =
[null], mergedContextConfiguration = [MergedContextConfiguration@6995bf68
testClass = ParallelRouteTest, locations = '{}', classes = '{class
camel.ParallelSpringBootMain}', contextInitializerClasses = '[]',
activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties
=
'{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}',
contextCustomizers =
set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@22ef9844,
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1da2cb77,
org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0,
org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@306e95ec,
org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@43dac38f,
org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0,
org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@437da279,
org.springframework.boot.test.context.SpringBootTestArgs@1,
org.springframework.boot.test.context.SpringBootTestWebEnvironment@7c0e2abd],
contextLoader =
'org.springframework.boot.test.context.SpringBootContextLoader', parent =
[null]], attributes = map[[empty]]], class annotated with @DirtiesContext
[false] with mode [null].
15:51:35.830 [main] INFO
org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener -
CamelSpringBootExecutionListener preparing: class camel.ParallelRouteTest
15:51:35.832 [main] INFO
org.apache.camel.test.spring.junit5.CamelAnnotationsHandler - Disabling Camel
JMX globally for tests by default. Use the DisableJMX annotation to override
the default setting.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.7.1)
2022-07-01 15:51:36.051 INFO 14760 --- [ main]
camel.ParallelRouteTest : Starting ParallelRouteTest using
Java 17.0.2 on cornel with PID 14760 (started by cornel in
D:\work\tests\testApacheCamel\parallel-processing)
2022-07-01 15:51:36.052 INFO 14760 --- [ main]
camel.ParallelRouteTest : No active profile set, falling back
to 1 default profile: "default"
2022-07-01 15:51:37.191 INFO 14760 --- [ main]
ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your
application with 'debug' enabled.
2022-07-01 15:51:37.231 ERROR 14760 --- [ main]
o.s.boot.SpringApplication : Application run failed
org.apache.camel.spring.boot.CamelSpringBootInitializationException:
java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in
classpath supporting file extension: txt
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:212)
~[camel-spring-boot-3.17.0.jar:3.17.0]
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:58)
~[camel-spring-boot-3.17.0.jar:3.17.0]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734)
~[spring-boot-2.7.1.jar:2.7.1]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
~[spring-boot-2.7.1.jar:2.7.1]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
~[spring-boot-2.7.1.jar:2.7.1]
at
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132)
~[spring-boot-test-2.7.1.jar:2.7.1]
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
~[spring-test-5.3.21.jar:5.3.21]
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
~[spring-test-5.3.21.jar:5.3.21]
at
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
~[spring-test-5.3.21.jar:5.3.21]
at
org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.prepareTestInstance(CamelSpringBootExecutionListener.java:61)
~[camel-test-spring-junit5-3.17.0.jar:3.17.0]
at
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248)
~[spring-test-5.3.21.jar:5.3.21]
at
org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138)
~[spring-test-5.3.21.jar:5.3.21]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
~[na:na]
at
java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
~[na:na]
at
java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
~[na:na]
at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
~[na:na]
at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
~[na:na]
at
java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
~[na:na]
at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
~[na:na]
at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
~[na:na]
at
java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
~[na:na]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at java.base/java.util.Optional.orElseGet(Optional.java:364) ~[na:na]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71)
~[junit5-rt.jar:na]
at
com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
~[junit-rt.jar:na]
at
com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
~[idea_rt.jar:na]
at
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
~[junit-rt.jar:na]
at
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
~[junit-rt.jar:na]
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
~[junit-rt.jar:na]
Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader
in classpath supporting file extension: txt
at
org.apache.camel.impl.engine.DefaultRoutesLoader.resolveRoutesBuilderLoader(DefaultRoutesLoader.java:201)
~[camel-base-engine-3.17.0.jar:3.17.0]
at
org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:106)
~[camel-base-engine-3.17.0.jar:3.17.0]
at
org.apache.camel.main.DefaultRoutesCollector.collectRoutesFromDirectory(DefaultRoutesCollector.java:144)
~[camel-main-3.17.0.jar:3.17.0]
at
org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:187)
~[camel-main-3.17.0.jar:3.17.0]
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:106)
~[camel-spring-boot-3.17.0.jar:3.17.0]
... 84 common frames omitted
2022-07-01 15:51:37.240 ERROR 14760 --- [ main]
o.s.test.context.TestContextManager : Caught exception while allowing
TestExecutionListener
[org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener@7582ff54]
to prepare test instance [camel.ParallelRouteTest@2b148329]
java.lang.IllegalStateException: Failed to load ApplicationContext
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
~[spring-test-5.3.21.jar:5.3.21]
at
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
~[spring-test-5.3.21.jar:5.3.21]
at
org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.prepareTestInstance(CamelSpringBootExecutionListener.java:61)
~[camel-test-spring-junit5-3.17.0.jar:3.17.0]
at
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248)
~[spring-test-5.3.21.jar:5.3.21]
at
org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138)
~[spring-test-5.3.21.jar:5.3.21]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
~[na:na]
at
java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
~[na:na]
at
java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
~[na:na]
at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
~[na:na]
at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
~[na:na]
at
java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
~[na:na]
at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
~[na:na]
at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
~[na:na]
at
java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
~[na:na]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at java.base/java.util.Optional.orElseGet(Optional.java:364) ~[na:na]
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66)
~[junit-jupiter-engine-5.8.2.jar:5.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
~[junit-platform-engine-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
~[junit-platform-launcher-1.8.2.jar:1.8.2]
at
com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71)
~[junit5-rt.jar:na]
at
com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
~[junit-rt.jar:na]
at
com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
~[idea_rt.jar:na]
at
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
~[junit-rt.jar:na]
at
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
~[junit-rt.jar:na]
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
~[junit-rt.jar:na]
Caused by: org.apache.camel.spring.boot.CamelSpringBootInitializationException:
java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in
classpath supporting file extension: txt
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:212)
~[camel-spring-boot-3.17.0.jar:3.17.0]
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:58)
~[camel-spring-boot-3.17.0.jar:3.17.0]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
~[spring-context-5.3.21.jar:5.3.21]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734)
~[spring-boot-2.7.1.jar:2.7.1]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
~[spring-boot-2.7.1.jar:2.7.1]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
~[spring-boot-2.7.1.jar:2.7.1]
at
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132)
~[spring-boot-test-2.7.1.jar:2.7.1]
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
~[spring-test-5.3.21.jar:5.3.21]
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
~[spring-test-5.3.21.jar:5.3.21]
... 70 common frames omitted
Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader
in classpath supporting file extension: txt
at
org.apache.camel.impl.engine.DefaultRoutesLoader.resolveRoutesBuilderLoader(DefaultRoutesLoader.java:201)
~[camel-base-engine-3.17.0.jar:3.17.0]
at
org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:106)
~[camel-base-engine-3.17.0.jar:3.17.0]
at
org.apache.camel.main.DefaultRoutesCollector.collectRoutesFromDirectory(DefaultRoutesCollector.java:144)
~[camel-main-3.17.0.jar:3.17.0]
at
org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:187)
~[camel-main-3.17.0.jar:3.17.0]
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:106)
~[camel-spring-boot-3.17.0.jar:3.17.0]
... 84 common frames omitted
java.lang.IllegalStateException: Failed to load ApplicationContext
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
at
org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
at
org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.prepareTestInstance(CamelSpringBootExecutionListener.java:61)
at
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248)
at
org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363)
at
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at
java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at
java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at
java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at
java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271)
at
org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101)
at
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at
org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at
org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
at
com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71)
at
com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at
com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: org.apache.camel.spring.boot.CamelSpringBootInitializationException:
java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in
classpath supporting file extension: txt
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:212)
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:58)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734)
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
at
org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132)
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
at
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
... 70 more
Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader
in classpath supporting file extension: txt
at
org.apache.camel.impl.engine.DefaultRoutesLoader.resolveRoutesBuilderLoader(DefaultRoutesLoader.java:201)
at
org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:106)
at
org.apache.camel.main.DefaultRoutesCollector.collectRoutesFromDirectory(DefaultRoutesCollector.java:144)
at
org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:187)
at
org.apache.camel.spring.boot.CamelSpringBootApplicationListener.onApplicationEvent(CamelSpringBootApplicationListener.java:106)
... 84 more
Process finished with exit code -1