Comments (7)
We talked the other day about how to better support the way views are rendered. It looks like it can't figure out what default view to use. You might try sending an Accept: text/uri-list
header to help if resolve the view to use.
from spring-data-rest.
Jon, as always: thank you! :-)
That works. May I help you updating the docs for workarounds like that?
from spring-data-rest.
Certainly you may help with the docs! :)
from spring-data-rest.
New snapshots are now available which change the way views are resolved. It should work now without having to specify an Accept header.
I will need to document how the ContentNegotiatingViewResolver is configured so if people want to mix in their own configuration, they'll have some guidance on how to do that.
from spring-data-rest.
Great, checking out and testing directly. :-)
from spring-data-rest.
Hi Jon,
with the new relation was set and it worked fine. But I am getting:
javax.servlet.ServletException: Could not resolve view with name 'org.springframework.data.rest.empty' in servlet with name 'exporter'
What I don't understand is the reason. Because normally, as the relation was set, it should not be empty, or?
from spring-data-rest.
The MVC Configuration has changed slightly w.r.t. the ContentNegotiatingViewResolver. If you look at the configuration now in master, you'll see how that has to be configured to get the right views resolved.
from spring-data-rest.
Related Issues (20)
- Release 4.1.10 (2023.0.10)
- Release 4.2.4 (2023.1.4)
- Release 4.3 M2 (2024.0.0)
- Json object not gettting captured in POST request HOT 4
- Upgrade to Spring Security 6.1.7 for integration tests
- Release 4.1.11 (2023.0.11)
- Release 4.2.5 (2023.1.5)
- Release 4.3 RC1 (2024.0.0)
- Upgrade to MongoDB driver 5
- Upgrade to Hibernate 6.5.0.CR1
- Release 4.1.12 (2023.0.12)
- Release 4.2.6 (2023.1.6)
- Release 4.3 GA (2024.0.0)
- [FEATURE REQUEST]: Spring Data JPA Support for Apache Delta Lake HOT 1
- Document error codes for ItemResources HOT 2
- Release 4.2.7 (2023.1.7)
- Release 4.3.1 (2024.0.1)
- Release 4.4 M1 (2024.1.0)
- [Question] Understanding links generated by Spring Data Rest HOT 1
- Support record for projections
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-data-rest.