Hello,
I am using Spring / Spring Boot & currently have a table which I want to add pagination to, and it looks like the best way to do this at the moment is with the Pagination add-on.
I have added the add-on repository & the dependency to my POM file, but as soon as I do that, it breaks my existing code ( e.g. addComponentColumn & recalculateColumnWidth methods disappear from the Grid class ).
I’m assuming I’ve got something wrong somewhere in my POM, rather than the add-on being at fault; any suggestions?
Thanks.
EDIT
Adding any add-on breaks my code & results in the application not being able to run ( NoClassDefFoundError: com/vaadin/navigator/PushStateNavigation being one of the errors ).
This is the relevant bit of my POM:
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spring-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
**//This could be ANY add-on**
<groupId>org.vaadin.teemusa</groupId>
<artifactId>gridextensionpack</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>vaadin-addons</id>
<url>http://maven.vaadin.com/vaadin-addons</url>
</repository>
</repositories>
Any idea what I’m doing / have done wrong?