Giter Club home page Giter Club logo

Comments (8)

paulcwarren avatar paulcwarren commented on May 14, 2024

Hi Bill, thanks for giving spring content a try and thanks for the issue. We don't want to publish that parent POM to maven central so we replaced it with the standard spring-boot parent and properties.

You should be good now.

Just FYI. We are just about to publish a few more getting-started guides to demonstrate our renditions and fulltext search capabilities as well as show how integrations with AWS's NLP services are possible to help to categorize documents and improve search results even further. Stay tuned!

Anyways, let me know if this fixes your issue and we will close.

from spring-content.

BillBrower avatar BillBrower commented on May 14, 2024

Hi Paul, thanks for getting back to me so fast! Where did you change it? I looked at the samples again but the last change was four days ago.

from spring-content.

paulcwarren avatar paulcwarren commented on May 14, 2024

I updated the code for getting started examples Bill.

So are you following out getting started guides here and here? Or are you trying to use our examples here?

I originally thought you were following the getting started guides as they did reference spring-eg-content-commons and that should not be fixed. If you git pull you should see the latest. If you are using the examples then I think folks usually just git clone the entire repo and import into their IDEs, or that is the intention anyways. We can update the docs to make that more clear if necessary. Let me know.

_Paul

from spring-content.

BillBrower avatar BillBrower commented on May 14, 2024

Both. I tried following the getting started guides initially and added spring-content-fs-boot-starter and spring-content-rest-boot-starter to my pom file but I got this error when I tried to start my spring boot app:

java.lang.IllegalStateException: Failed to load ApplicationContext
.
.
.
Caused by: java.lang.NoSuchMethodError: org.springframework.data.web.config.HateoasAwareSpringDataWebConfiguration: method <init>()V not found

So I started looking at the examples because I figured the getting started guides must be missing some small config detail. Then I added spring-hateoas to my pom file and added this config to my Application class:

@Configuration
@EnableFilesystemStores()
public static class AppConfig {}

to match the configuration in the examples but neither of those things fixed the error.

from spring-content.

paulcwarren avatar paulcwarren commented on May 14, 2024

That hateoas error looks familiar and was due to different spring-boot versions. i.e. spring-content compiled against one version and the application using it spring-content trying to use another version. In my case though it was spring-content compiled against spring-boot 2 and the application using it attempting to use spring-boot 1.5.x.

The getting started guides should now be fixed. If you git pull the gettingstarted-spring-content repo you should see the references to spring-eg-content-commons are now gone. Those changes are mirrored on the web too.

Let me know if you are still having an issue. Perhaps we can jump on slack or something?

from spring-content.

BillBrower avatar BillBrower commented on May 14, 2024

I bet it is a version mismatch. We're on spring-boot 2.0.1.RELEASE. I'd happy to jump on slack! Is there a dedicated slack for the project?

from spring-content.

paulcwarren avatar paulcwarren commented on May 14, 2024

There is. It is spring-content on cloudfoundry's slack. You can come and find us there.

But it is almost certainly that. The next release that is currently on master 0.1.0-SNAPSHOT will be our first 2.0 release. Should be out end of this week, or next.

from spring-content.

BillBrower avatar BillBrower commented on May 14, 2024

Awesome, I'll upgrade when the next release comes out and let you know if I'm still having issues. Thanks Paul!

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.