harshithasudhakar commented on PR #5104:
URL: https://github.com/apache/eventmesh/pull/5104#issuecomment-2358867242

   Seems like there are 2 issues here:
   **1. Antlr version mismatch:** The error suggests that the tool 
`org.antlr.v4.Tool` was compiled using Java 11 (class version 55.0), but you're 
trying to run it with Java 8. Even though you switched to Java 11, it seems the 
change hasn't taken effect for some reason.
   
   Fix:
   
   - Ensure that you IDE uses Java 11, and the environment variable is pointing 
to Java 11.
   - If you're using Gradle, update the `sourceCompatibility` and 
`targetCompatibilit`y settings in your `build.gradle`. Clean the project 
(gradle clean) and rebuild it.
   
   **2.  MockServer :** The `java.lang.IllegalArgumentException at 
org.mockserver.client.MockServerClient.sendRequest` exception could be due to 
an incorrect request format, a misconfiguration, or even a mismatch between the 
MockServer version and the dependencies
   
   Fix:
   
   - Ensure that `mockserver-client-java` version is compatible with the other 
dependencies, and you may update it if you are using an outdated version.
   - Ensure the test code at `HttpSinkConnectorTest.before` and confirm that 
the requests you're sending via `MockServerClient` are correctly formatted and 
aligned with the version of `MockServer`.
   
   Please try these fixes and let me know if it works :)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to