Class JmixVaadinServletContextInitializer

java.lang.Object
com.vaadin.flow.spring.VaadinServletContextInitializer
io.jmix.flowui.sys.JmixVaadinServletContextInitializer
All Implemented Interfaces:
org.springframework.boot.web.servlet.ServletContextInitializer

public class JmixVaadinServletContextInitializer extends com.vaadin.flow.spring.VaadinServletContextInitializer
Workaround on Windows OS if you build project using gradle with long class path. This class extends VaadinServletContextInitializer and overrides it using jmix.core.exclude-beans property in module properties.

Also see issue and comments: jmix-framework/jmix#1571

  • Field Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • JmixVaadinServletContextInitializer

      public JmixVaadinServletContextInitializer(org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • onStartup

      public void onStartup(jakarta.servlet.ServletContext servletContext) throws jakarta.servlet.ServletException
      Specified by:
      onStartup in interface org.springframework.boot.web.servlet.ServletContextInitializer
      Overrides:
      onStartup in class com.vaadin.flow.spring.VaadinServletContextInitializer
      Throws:
      jakarta.servlet.ServletException