Comments (8)
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.
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.
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.
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.
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.
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.
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.
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)
- Do not include junit as compile dependency
- Exception with unsetContent using SB3 and SC3.0.4 JPA Starter HOT 1
- File download not working on windows platform HOT 1
- How do I configure com.github.paulcwarren:spring-content-bom for spring boot kotlin gradle? HOT 1
- Hibernate dependency error HOT 4
- No suitable HttpMessageConverter found to read request body into object of type class com.example.demo.entity.client.image.Avatar from request with content type of image/png;charset=UTF-8 HOT 8
- Investigation into the cause of `java.lang.NullPointerException: Cannot invoke "org.springframework.content.commons.storeservice.StoreInfo.getInterface()" because the return value of "internal.org.springframework.content.rest.io.StoreResource.getStoreInfo()" is null`
- Maven build error with Graal VM on Spring Content HOT 4
- Crash when use FileSystemResourceLoader in the latest version of spring boot HOT 1
- Not compatible with Spring Boot 3.2: method Assert.notNull(Object) does not exist HOT 2
- If-Match HTTP header gets ignored by a concurrent PUT after DELETE on the content of an entity HOT 1
- Filesize and filename are not set after a multipart/form POST http request to create entity with content HOT 1
- Events emitted twice HOT 2
- Relation "Blobs" not found HOT 2
- Multipart request to create entity and content in single request fails with http 400 HOT 1
- Multipart request to create entity and content in one request fail to create entity when file is missing
- Adding content to s3-storage fails with http 500 when using spring boot 3.2.1+ HOT 2
- Allow overriding name of content field in multipart payload
- Unable to Use Azure Data Storage in Springboot
- Unable to Use Azure Data Storage in Springboot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-content.