-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Groovy script JSON paring runs into java.util.ServiceConfigurationError: org.apache.groovy.json.FastStringServiceFactory: org.apache.groovy.json.DefaultFastStringServiceFactory not a subtype #2418
Comments
@catshout can you provide the dependencies resolved by camel-k for this integration ? they should be listed in the integration kit associated to the integration |
@lburgazzoli could you please give me a hint how to figure this out? |
So every integration has a reference to an IntegrationKit (there should be a kit or integrationKit field in the integration status). Then kubectl get integrationkit ${integrtion-kit-name} -o yaml |
Voilà
|
@catshout the status should contains also an "artifacts" section, something like:
can you add that too ? |
@lburgazzoli sorry, I missed these parts, have added the full output |
ok, do you mind trying with groovy 3.0.5 ?
I got strange result when different versions of groovy where on the classpath. BTW, I think the issue should have been solved in the latest releases as I'm not able to reproduce it with the latest camel-k-runtime (see as example, https://github.com/lburgazzoli/camel-k-runtime-example-xml). But we'll add an integration test for this |
@lburgazzoli I've tried with groovy 3.0.5, same result unfortunately. Is this possible to get a newer camel-k on our cluster to test this as well? |
This issue has been automatically marked as stale due to 90 days of inactivity. |
We're using Camel-K 1.4.0 on a GCP k8s service.
The following route
started with
runs into an error
The same route runs properly with Camel 3.9.0 on Karaf 4.2.9.
The text was updated successfully, but these errors were encountered: