Hi, I am using Vaadin 14 and JDK 11. When I add the dependency for versio

Hi,

I am using Vaadin 14 and JDK 11.
When I add the dependency for version 0.0.6 I get Error 503 “Service unavailable” when i try to open my website.

Do you have any idea what is causing this issue?

Thanks in advance

Do you have any sample code to reproduce this issue?

It is a rather large project so i don’t have any small sample to show, unfortunately.

However, I get this error as soon as I add this dependency, I have not added any other code related to SO Charts.

Here are some of the other dependencies I use:

<dependency>
	<groupId>com.vaadin</groupId>
	<artifactId>vaadin-push</artifactId>
	<version>8.9.1</version>
</dependency>
<dependency>
	<groupId>com.vaadin</groupId>
	<artifactId>vaadin-testbench</artifactId>
	<scope>test</scope>
</dependency>

<dependency>
	<groupId>org.slf4j</groupId>
	<artifactId>slf4j-simple</artifactId>
</dependency>

<dependency>
	<groupId>de.wathoserver.vaadin</groupId>
	<artifactId>visjs-vaadin-component</artifactId>
	<version>0.0.2-SNAPSHOT</version>
</dependency>

<dependency>
	<groupId>javax.servlet</groupId>
	<artifactId>javax.servlet-api</artifactId>
	<version>3.1.0</version>
	<scope>provided</scope>
</dependency>

<dependency>
	<groupId>org.apache.guacamole</groupId>
	<artifactId>guacamole-common</artifactId>
	<version>1.1.0</version>
</dependency>

<dependency>
	<groupId>javax.websocket</groupId>
	<artifactId>javax.websocket-api</artifactId>
	<version>1.1</version>
	<scope>provided</scope>
</dependency>

I created a sample application with Vaadin 14.4.0 and it worked.

Tried adding all the dependencies you mentioned for testing (For the visjs-vaadin-component, 0.0.2 is used because I couldn’t find 0.0.2-SNAPSHOT). No problems found.

(Wondering why are you depending on a specific version of vaadin-push)

Strange,
I will try to find another solution then.

Thanks for the help anyway.

Syam Pillai:
Vaadin 14

com.vaadin.flow.component.littemplate.LitTemplate was introduced in Vaadin 17. There is no way I could add an SOChart to a layout when using Vaadin 14. Is there a dependency I need to add or a specific version of so-charts that works with Vaadin 14?

Sorry, the current version works with only Vaadin 17+ versions.

I have released a version that doesn’t depend on LitTemplate. So, it should work with Vaadin 14.x.