Vaadin 14.4.3 and SlideTab 2.2.1 - Couldn't find the definition of the elem


Vaadin : 14.4.3
SlideTab: 2.2.1 (

I am getting the below exception, Caused by: java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'slide-tab' 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

Note: I have frontend folder and have slide-tab.js and css in the respective src and styles folder.


  • frontend
    • src → slide-tab.js
    • styles → slide-tab.css
  • src
    • main …

Option tried: deleted node-modules, package-lock.json, webpack.generated.js and then “mvn clean install” - Not resolved the issue

Any help would be appreciated to resolve the issue…