tschuehly / spring-view-component

Server-side UI components with spring boot
MIT License
174 stars 8 forks source link

upgrade to 0.7.2 - No view rendering, null ModelAndView returned. #16

Closed stella6767 closed 3 months ago

stella6767 commented 8 months ago

I upgraded the library and migrated the code based on the changed usage, but I ended up with a log like the one in the title. What is the problem?

image

image

image

change to annotationProcessor

image

image

image

just empty

tschuehly commented 8 months ago

If you are using Kotlin you need to continue using the kapt dependency notation.

stella6767 commented 8 months ago

If you are using Kotlin you need to continue using the kapt dependency notation.

but i checked 200 status. is there any other problem?

image

image
tschuehly commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

stella6767 commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

of course. take me time

stella6767 commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

I sent you an invitation to my repository. check dev branch

tschuehly commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

I sent you an invitation to my repository. check dev branch

Can you try using .kte instead of .jte? Then the correct compiler should be used

stella6767 commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

I sent you an invitation to my repository. check dev branch

Can you try using .kte instead of .jte? Then the correct compiler should be used

wait a minute. sir

stella6767 commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

I sent you an invitation to my repository. check dev branch

Can you try using .kte instead of .jte? Then the correct compiler should be used

wait a minute. sir

cant apply kapt dependency notation... i will try it tomorrow

stella6767 commented 8 months ago

Could you push this project into a GitHub Repo that I could check it out?

I sent you an invitation to my repository. check dev branch

Can you try using .kte instead of .jte? Then the correct compiler should be used

wait a minute. sir

cant apply kapt dependency notation... i will try it tomorrow

image

cant find solution. i tried your kte example but i got this error. can you explain that why it is happening?

tschuehly commented 8 months ago

I think it's an issue with the local development compilation for kotlin, I can reproduce the issue! when setting spring.view-component.local-development: false then it works again. Do this as a workaround! I will try to find a solution and release a fix!