Vaadin upgrade 23 to 24

Hi *,

i upgraded spring boot 2.7 to 3 and vaadin 23 to 24. Now i have an exception on Runtime and no clue how to fix this. I took over this project 3 weeks ago and there are now devs that has the knowledge to help me.

this is error msg:

    ...
Caused by: java.lang.NoSuchMethodError: 'void com.vaadin.flow.component.button.Button.addThemeVariants(com.vaadin.flow.component.button.ButtonVariant[])'
    at org.vaadin.tatu.TwinColSelect.<init>(TwinColSelect.java:300) ~[twincolselect-2.3.0.jar:2.3.0]
    at org.vaadin.tatu.TwinColSelect.<init>(TwinColSelect.java:260) ~[twincolselect-2.3.0.jar:2.3.0]
    at de.alegria.qkiss.webportal.ui.view.person.dialog.PositionForPersonDialog.initTwinColSelect(PositionForPersonDialog.java:60) ~[classes/:na]
    at de.alegria.qkiss.webportal.ui.view.person.dialog.PositionForPersonDialog.initBody(PositionForPersonDialog.java:51) ~[classes/:na]
    at de.alegria.qkiss.webportal.ui.view.common.AbstractDialog.initLayout(AbstractDialog.java:40) ~[classes/:na] 

hope someone can help me
thx

Upgrade the version of the add-on to version 3.0.0: TwinColSelect - Vaadin Add-on Directory

you mean in the pom.xml ?

Yes

i found this

org.vaadin.tatu
twincolselect
2.3.0

think this is deprecated

there are no verison 3

com.vaadin vaadin-list-box-flow 3.0.0

?

would try to replace it with that

if this is correct

donno

Use this:

org.vaadin.tatu
twincolselect
3.0.0

ok i will try thx a lot

other plugin.
i have this plugin in the pom.xml
The Msg is “not found” do you know whats wrong with that?

<plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <version>3.0.0</version>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>integration-test</goal>
                                    <goal>verify</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <trimStackTrace>false</trimStackTrace>
                            <enableAssertions>true</enableAssertions>
                        </configuration>
                    </plugin>

maybe this will make other issues

This was the solution thx it works now