christophe42
(christophe guillaume)
September 10, 2020, 2:05pm
1
Hi,
We started a v Vaadin 14 project, based on a Vaadin demo application, using components condtionned by a Vaadin subscription
But as we don’t use under subscription component, the following message keeps displayed on the screen:
*This application is using components which are part of a Vaadin subscription.
Click here to get a trial or validate your subscription
*
What are the conditions to avoid the display of this message ?
Many thanks in advance
Christophe
mcollovati
(Marco Collovati)
September 10, 2020, 4:57pm
2
Hi,
if you don’t use commercial components double check that you are depending on vaadin-core and not on vaadin .
<dependencies>
<!-- other dependencies -->
<!-- component dependency -->
<dependency>
<groupId>com.vaadin</groupId>
<!--
all components
<artifactId>vaadin</artifactId>
-->
<!-- only open source components -->
<artifactId>vaadin-core</artifactId>
<version>${vaadin.platform.version}</version>
</dependency>
</dependencies>
Take a look here for further details: https://vaadin.com/docs/v14/flow/components/tutorial-flow-components-setup.html
HTH
Marco
christophe42
(christophe guillaume)
September 11, 2020, 6:28am
3
Hi,
I attach the pom.xml file,
how can I change the file to avoid the message “This application is using components wh…” ?
many thanks in advance
Christophe.
18435163.xml (14.4 KB)
If you don’t have a subscription, you can replace in your pom.xml:
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
<exclusions>...
to
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
<exclusions>...
As it has been suggested by Marco.
And also you have to remove this:
<dependency>
<groupId>com.vaadin.componentfactory</groupId>
<artifactId>togglebutton</artifactId>
<version>1.0.0</version>
</dependency>
Since it’s a vaadin component factory component and it requires a Vaadin subscription.
christophe42
(christophe guillaume)
September 11, 2020, 2:35pm
5
Hi,
Many thanks, it’s working!