Vaadin cdi problem with 24.7.1

I can’t use vaadin 24.7.1 with vaadin cdi unless I put this exclusion in pom.xml

<dependency>
	<groupId>com.vaadin</groupId>
	<artifactId>vaadin-cdi</artifactId>
	<exclusions>
		<exclusion>
		  <groupId>com.fasterxml.jackson.core</groupId>
		  <artifactId>jackson-core</artifactId>
		</exclusion>
		<exclusion>
		  <groupId>com.fasterxml.jackson.core</groupId>
		  <artifactId>jackson-databind</artifactId>
		</exclusion>
		<exclusion>
		  <groupId>com.fasterxml.jackson.core</groupId>
		  <artifactId>jackson-annotations</artifactId>
		</exclusion>
	</exclusions>
</dependency>

Why can’t you use it? What error / exception did you see?

sorry for not specifying.
Because otherwise I have this problem in frontend compilation:

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.7.1:prepare-frontend (default) on project jte: null: MojoFailureException: InvocationTargetException: Could not execute prepare-frontend goal. Error occured during goal execution: com/fasterxml/jackson/core/util/Separators$Spacing

I don’t know your full pom.xml so it’s just a guess - you either have no vaadin-bom in use and/or the dependency declaration sequence causes dependency convergence

I would suggest to report it to GitHub - vaadin/platform: Vaadin platform 10+ is a Java web development platform based on Vaadin web components. If you don't know to which repository your bug report should be filed, use this and we'll move it to the right one.

1 Like

how can I open an issue on this link?

here is a direct link Sign in to GitHub · GitHub