Noob doubt

I create one vaadin project, so he create one AppUI with my servlet

@WebServlet(urlPatterns = "/*", name = "CartorioUIServlet", asyncSupported = true)
@VaadinServletConfiguration(ui = CartorioUI.class, productionMode = false)
public static class CartorioUIServlet extends VaadinServlet {

so then I add one add-on (brTextfield): https://vaadin.com/directory#!addon/brtextfield

but the problem are that addon have one UI too

@WebServlet(
        value = {"/*"},
        asyncSupported = true
    )
    @VaadinServletConfiguration(
        productionMode = false,
        ui = BrtextfieldUI.class
    )
    public static class Servlet extends VaadinServlet {
        public Servlet() {
        }
    }

so when I try to run my project I got the error:

java.lang.IllegalStateException: Multiple servlets map to path: /*: com.brtextfield.BrtextfieldUI$Servlet,CartorioUIServlet

Can I disable the UI from brTextfield?? how?

tks

Depending on your deploy configuration you can try to add either a web-fragment.xml (maven jar artifact) or web.xml (maven war artifact) in order to disable the servlet

...
<servlet>
   <servlet-name>com.brtextfield.BrtextfieldUI$Servlet</servlet-name>
   <servlet-class>com.brtextfield.BrtextfieldUI$Servlet</servlet-class>
   <enabled>false</enabled>
</servlet>
...

HTH
Marco