Classes in .jar file

Hi,

I want my application classes (14.2.1) not to reside inside WEB-INF/classes but in a jar file. So I use the maven-war-plugin with archiveClasses = true. Seems this is not easily possible. The production build deployed fails with:

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

I know that was working before npm (but maybe I didn’t use App-Layout then). I don’t know if the error comes from App Layout or from Vaadin. Does anyone have success with this setup?

Thank you