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