[INFO] Scanning for projects... [INFO] [INFO] ---------------< org.mycompany:camel-ose-springboot-xml >--------------- [INFO] Building Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-ose-springboot-xml --- [INFO] Deleting /Users/djelinek/development/workspaces/war/camel-2.21/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-ose-springboot-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- fabric8-maven-plugin:7.7.0.fuse-770012-redhat-00003:resource (default) @ camel-ose-springboot-xml --- [WARNING] F8: Cannot access cluster for detecting mode: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [INFO] F8: Running in Kubernetes mode [INFO] F8: Running generator spring-boot [INFO] F8: spring-boot: Using Docker image fuse7/fuse-java-openshift:1.7 as base / builder [INFO] F8: using resource templates from /Users/djelinek/development/workspaces/war/camel-2.21/src/main/fabric8 [INFO] F8: fmp-service: Adding a default service 'camel-ose-springboot-xml' with ports [8080] [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8081, path='/health', scheme='HTTP', with initial delay 10 seconds [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8081, path='/health', scheme='HTTP', with initial delay 180 seconds [INFO] F8: f8-service-discovery: Using first mentioned service port '8080' [INFO] F8: fmp-revision-history: Adding revision history limit to 2 [INFO] F8: f8-icon: Adding icon for deployment [INFO] F8: f8-icon: Adding icon for service [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-route.yml resource [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml resource [WARNING] F8: Invalid Resource : /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml [message=.spec.template.spec.containers[0].resources.limits.cpu: string found, object expected, violation type=type] [message=.spec.template.spec.containers[0].resources.requests.cpu: string found, object expected, violation type=type] [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-svc.yml resource [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml resource [WARNING] F8: Invalid Resource : /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml [message=.spec.template.spec.containers[0].resources.limits.cpu: string found, object expected, violation type=type] [message=.spec.template.spec.containers[0].resources.requests.cpu: string found, object expected, violation type=type] [INFO] [INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ camel-ose-springboot-xml --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /Users/djelinek/development/workspaces/war/camel-2.21/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-ose-springboot-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/djelinek/development/workspaces/war/camel-2.21/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ camel-ose-springboot-xml --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ camel-ose-springboot-xml --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ camel-ose-springboot-xml --- [INFO] Building jar: /Users/djelinek/development/workspaces/war/camel-2.21/target/camel-ose-springboot-xml-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:7.7.0.fuse-770012-redhat-00003:repackage (default) @ camel-ose-springboot-xml --- [INFO] [INFO] >>> spring-boot-maven-plugin:7.7.0.fuse-770012-redhat-00003:run (default-cli) > test-compile @ camel-ose-springboot-xml >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-ose-springboot-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- fabric8-maven-plugin:7.7.0.fuse-770012-redhat-00003:resource (default) @ camel-ose-springboot-xml --- [WARNING] F8: Cannot access cluster for detecting mode: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [INFO] F8: Running in Kubernetes mode [INFO] F8: Running generator spring-boot [INFO] F8: spring-boot: Using Docker image fuse7/fuse-java-openshift:1.7 as base / builder [INFO] F8: using resource templates from /Users/djelinek/development/workspaces/war/camel-2.21/src/main/fabric8 [INFO] F8: fmp-service: Adding a default service 'camel-ose-springboot-xml' with ports [8080] [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8081, path='/health', scheme='HTTP', with initial delay 10 seconds [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8081, path='/health', scheme='HTTP', with initial delay 180 seconds [INFO] F8: f8-service-discovery: Using first mentioned service port '8080' [INFO] F8: fmp-revision-history: Adding revision history limit to 2 [INFO] F8: f8-icon: Adding icon for deployment [INFO] F8: f8-icon: Adding icon for service [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-route.yml resource [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml resource [WARNING] F8: Invalid Resource : /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml [message=.spec.template.spec.containers[0].resources.limits.cpu: string found, object expected, violation type=type] [message=.spec.template.spec.containers[0].resources.requests.cpu: string found, object expected, violation type=type] [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-svc.yml resource [INFO] F8: validating /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml resource [WARNING] F8: Invalid Resource : /Users/djelinek/development/workspaces/war/camel-2.21/target/classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml [message=.spec.template.spec.containers[0].resources.limits.cpu: string found, object expected, violation type=type] [message=.spec.template.spec.containers[0].resources.requests.cpu: string found, object expected, violation type=type] [INFO] [INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ camel-ose-springboot-xml --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-ose-springboot-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/djelinek/development/workspaces/war/camel-2.21/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ camel-ose-springboot-xml --- [INFO] No sources to compile [INFO] [INFO] <<< spring-boot-maven-plugin:7.7.0.fuse-770012-redhat-00003:run (default-cli) < test-compile @ camel-ose-springboot-xml <<< [INFO] [INFO] [INFO] --- spring-boot-maven-plugin:7.7.0.fuse-770012-redhat-00003:run (default-cli) @ camel-ose-springboot-xml --- . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.22.RELEASE) 15:22:04.610 [main] INFO org.mycompany.Application - Starting Application on MacBook-Pro with PID 57863 (/Users/djelinek/development/workspaces/war/camel-2.21/target/classes started by djelinek in /Users/djelinek/development/workspaces/war/camel-2.21) 15:22:04.612 [main] INFO org.mycompany.Application - No active profile set, falling back to default profiles: default 15:22:04.657 [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@389201dc: startup date [Fri Jan 07 15:22:04 CET 2022]; root of context hierarchy 15:22:04.932 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.3.5.Final-redhat-2 15:22:05.226 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/camel-context.xml] 15:22:06.789 [main] ERROR o.s.boot.SpringApplication - Application startup failed java.lang.IllegalStateException: Cannot load configuration class: org.mycompany.Application at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:404) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:249) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:283) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:127) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:123) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:666) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:353) at org.springframework.boot.SpringApplication.run(SpringApplication.java:300) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1082) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1071) at org.mycompany.Application.main(Application.java:31) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:517) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.ExceptionInInitializerError: null at org.springframework.context.annotation.ConfigurationClassEnhancer.newEnhancer(ConfigurationClassEnhancer.java:122) at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:110) at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:394) ... 18 common frames omitted Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @52048ed at org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:464) at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:336) at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93) at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91) at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61) at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34) at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116) at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291) at org.springframework.cglib.core.KeyFactory$Generator.create(KeyFactory.java:221) at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:174) at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:153) at org.springframework.cglib.proxy.Enhancer.(Enhancer.java:73) ... 21 common frames omitted Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @52048ed at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at org.springframework.cglib.core.ReflectUtils$1.run(ReflectUtils.java:61) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at org.springframework.cglib.core.ReflectUtils.(ReflectUtils.java:52) at org.springframework.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:243) at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329) ... 33 common frames omitted 15:22:06.790 [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@389201dc: startup date [Fri Jan 07 15:22:04 CET 2022]; root of context hierarchy [WARNING] java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:517) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.IllegalStateException: Cannot load configuration class: org.mycompany.Application at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:404) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:249) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:283) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:127) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:123) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:666) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:353) at org.springframework.boot.SpringApplication.run(SpringApplication.java:300) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1082) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1071) at org.mycompany.Application.main(Application.java:31) ... 6 more Caused by: java.lang.ExceptionInInitializerError at org.springframework.context.annotation.ConfigurationClassEnhancer.newEnhancer(ConfigurationClassEnhancer.java:122) at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:110) at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:394) ... 18 more Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @52048ed at org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:464) at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:336) at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93) at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91) at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61) at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34) at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116) at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291) at org.springframework.cglib.core.KeyFactory$Generator.create(KeyFactory.java:221) at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:174) at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:153) at org.springframework.cglib.proxy.Enhancer.(Enhancer.java:73) ... 21 more Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @52048ed at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at org.springframework.cglib.core.ReflectUtils$1.run(ReflectUtils.java:61) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at org.springframework.cglib.core.ReflectUtils.(ReflectUtils.java:52) at org.springframework.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:243) at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329) ... 33 more [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.447 s [INFO] Finished at: 2022-01-07T15:22:06+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.redhat-fuse:spring-boot-maven-plugin:7.7.0.fuse-770012-redhat-00003:run (default-cli) on project camel-ose-springboot-xml: An exception occurred while running. null: InvocationTargetException: Cannot load configuration class: org.mycompany.Application: ExceptionInInitializerError: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @52048ed -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException