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

Couldn't find the definition of the element with tag 'app-layout-left-responsive' in any template file declared using '@JsModule' #456

Open
danielmoronta23 opened this issue Mar 13, 2022 · 0 comments
Labels

Comments

@danielmoronta23
Copy link

Greetings!

I am trying to make a demo with this component. I use Vaddin 14.6.8, Spring boot 2.5.8 and app-layout-addon 4.0.0.
However, I am getting the following error. I have seen similar cases, but not seen the solution. Can you guide me?

Error:

There was an exception while trying to navigate to 'hola' with the exception message 'Error creating bean with name 'com.example.application.annotation.MainAppLayout': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.example.application.annotation.MainAppLayout]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'app-layout-left-responsive' in any template file declared using '@jsmodule' annotations. Check the availability of the template files in your WAR file or provide alternative implementation of the method getTemplateContent() which should return an element representing the content of the template file´.

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

No branches or pull requests

1 participant