Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve view with name '' #10

Open
sdeleuze opened this issue Dec 5, 2017 · 2 comments
Open

Could not resolve view with name '' #10

sdeleuze opened this issue Dec 5, 2017 · 2 comments

Comments

@sdeleuze
Copy link

sdeleuze commented Dec 5, 2017

I have updated a little bit my deepdive example in order to use kotlinx.coroutines 0.20 and the map extension, and it seems this combination breaks the view name resolution. Run https://github.com/sdeleuze/spring-kotlin-deepdive/tree/coroutine-view-issue and go to http://localhost:8080/ to reproduce.

konrad-kaminski added a commit that referenced this issue Feb 18, 2018
@konrad-kaminski
Copy link
Owner

The main culprit is an issue in Spring Core with incorrect return type of a suspending functions. I created a PR for solving it.

However, after solving this problem I found other issues. These were solved in 0.3.3 version.

There is a test for your case. It is ignored for now, but you can have a look at it here.

@konrad-kaminski
Copy link
Owner

I created a fixed Spring Core 5.0.4 version and put it in my repo (it's essentially 5.0.4.RELEASE with a fix in the MethodParameter class). In the mpfix branch you can see an example of using it. Especially have a look at the last commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants