Giter Club home page Giter Club logo

Comments (2)

paulcwarren avatar paulcwarren commented on May 15, 2024

Hi @JoeBrig, from the description I would guess that Spring Content handler mapping is grabbing the Vaadin mappings. Let me investigate a little further to confirm that. Thanks for raising this issue and for including the sample project. That is very helpful.

from spring-content.

paulcwarren avatar paulcwarren commented on May 15, 2024

Hi @JoeBrig, the only way I could reproduce this error was to request a mapping/route that doesn't exist. I tracked it down to a really old version of apache commons io. We had a dependency on 1.3.1! We updated this to 2.6.

You can use 0.6.0-SNAPSHOT, or, if you wish to stay on a release, the workaround on 0.4.0 or 0.5.0 is to create a dependency on the new version and exclude the old version from spring-content-jpa, as in the following:

        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.6</version>
        </dependency>

        <dependency>
            <groupId>com.github.paulcwarren</groupId>
            <artifactId>spring-content-jpa-boot-starter</artifactId>
            <version>0.5.0</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.commons</groupId>
                    <artifactId>commons-io</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

FYI, in your sample application, I noticed that you had a dependency on spring-content-autoconfigure and on spring-content-jpa. Just in case you hadn't noticed it already, we do have a boot starter for jpa spring-content-jpa-boot-starter.

Anyways, let me know if you have any more issues. Feel free to re-open this if you think it is still a problem and we'll investigate further.

from spring-content.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.