You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2024/12/11 14:40:32 UTC
[PR] Add ftp test [camel-jbang-examples]
christophd opened a new pull request, #9:
URL: https://github.com/apache/camel-jbang-examples/pull/9
(no comment)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add ftp test [camel-jbang-examples]
Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on PR #9:
URL: https://github.com/apache/camel-jbang-examples/pull/9#issuecomment-2538407399
For some reason I had to explicitly add jbang.properties that resolve `jakarta.inject:jakarta.inject-api:2.0.1` and `jakarta.enterprise:jakarta.enterprise.cdi-api:4.1.0`.
I have no idea why these dependencies are not resolved via Camel JBang MavenDownloader as it used to be with 4.8.x. I think we need to investigate.
For this PR tests are green so we can proceed IMO. WDYT?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add ftp test [camel-jbang-examples]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #9:
URL: https://github.com/apache/camel-jbang-examples/pull/9#issuecomment-2538258507
No I am not aware - so somewhere the inject JAR must be included
```
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<version>2.0.1</version>
</dependency>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add ftp test [camel-jbang-examples]
Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on PR #9:
URL: https://github.com/apache/camel-jbang-examples/pull/9#issuecomment-2536264720
🤔 I see this error when running the test in GH actions workflow, funnily I do not get this error when running the test locally.
@davsclaus any idea?
```
org.apache.camel.main.MainSupport : Apache Camel (JBang) 4.9.0 is starting
Error: Exception in thread "main" java.lang.NoClassDefFoundError: jakarta/inject/Named
at org.apache.camel.tooling.maven.support.DIRegistry.isNamedAnnotation(DIRegistry.java:87)
at org.apache.camel.tooling.maven.support.DIRegistry.bind(DIRegistry.java:124)
at org.apache.camel.tooling.maven.MavenDownloaderImpl.basicRepositorySystemConfiguration(MavenDownloaderImpl.java:641)
at org.apache.camel.tooling.maven.MavenDownloaderImpl.configureRepositorySystem(MavenDownloaderImpl.java:629)
at org.apache.camel.tooling.maven.MavenDownloaderImpl.doBuild(MavenDownloaderImpl.java:305)
at org.apache.camel.support.service.BaseService.build(BaseService.java:64)
at org.apache.camel.support.service.ServiceHelper.buildService(ServiceHelper.java:55)
at org.apache.camel.main.download.MavenDependencyDownloader.doBuild(MavenDependencyDownloader.java:546)
at org.apache.camel.support.service.BaseService.build(BaseService.java:64)
at org.apache.camel.support.service.BaseService.init(BaseService.java:82)
at org.apache.camel.support.service.ServiceHelper.initService(ServiceHelper.java:84)
at org.apache.camel.impl.engine.InternalServiceManager.doAddService(InternalServiceManager.java:118)
at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1383)
at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1378)
at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1373)
at org.apache.camel.main.KameletMain.createCamelContext(KameletMain.java:444)
at org.apache.camel.main.MainSupport.initCamelContext(MainSupport.java:341)
at org.apache.camel.main.KameletMain.doInit(KameletMain.java:376)
at org.apache.camel.support.service.BaseService.init(BaseService.java:85)
at org.apache.camel.support.service.BaseService.start(BaseService.java:115)
at org.apache.camel.dsl.jbang.core.commands.Run.runKameletMain(Run.java:1374)
at org.apache.camel.dsl.jbang.core.commands.Run.run(Run.java:888)
at org.apache.camel.dsl.jbang.core.commands.Run.doCall(Run.java:324)
at org.apache.camel.dsl.jbang.core.commands.CamelCommand.call(CamelCommand.java:71)
at org.apache.camel.dsl.jbang.core.commands.CamelCommand.call(CamelCommand.java:37)
at picocli.CommandLine.executeUserObject(CommandLine.java:2045)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
at picocli.CommandLine.execute(CommandLine.java:2174)
at org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:175)
at org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:62)
at main.CamelJBang.main(CamelJBang.java:36)
Caused by: java.lang.ClassNotFoundException: jakarta.inject.Named
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 36 more
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add ftp test [camel-jbang-examples]
Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd merged PR #9:
URL: https://github.com/apache/camel-jbang-examples/pull/9
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org