java.lang.NoSuchMethodError: org.vaadin.cssinject.CSSInject: method <init>()V not found

Stack Overflow | user3503297 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When extending ToolbarWindow in Vaadin, it throws NoSuchMethodError

    Stack Overflow | 9 months ago | user3503297
    java.lang.NoSuchMethodError: org.vaadin.cssinject.CSSInject: method <init>()V not found

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.vaadin.cssinject.CSSInject: method <init>()V not found

      at org.vaadin.toolbarwindow.ToolbarWindow.<init>()
    2. org.vaadin.toolbarwindow
      ToolbarWindow.<init>
      1. org.vaadin.toolbarwindow.ToolbarWindow.<init>(ToolbarWindow.java:22)[toolbarwindow-0.1.jar:0.1]
      1 frame
    3. com.shaic.claim
      ViewDetails$1.buttonClick
      1. com.shaic.claim.registration.ViewPreviousClaims.<init>(ViewPreviousClaims.java:82)[classes:]
      2. com.shaic.claim.ViewDetails.getViewPreviousClaimDetails(ViewDetails.java:3673)[classes:]
      3. com.shaic.claim.ViewDetails$1.buttonClick(ViewDetails.java:945)[classes:]
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_25]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_25]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_25]
      4. java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_25]
      4 frames
    5. Vaadin
      EventRouter.fireEvent
      1. com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)[vaadin-server-7.5.8.jar:7.5.8]
      2. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)[vaadin-server-7.5.8.jar:7.5.8]
      3. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)[vaadin-server-7.5.8.jar:7.5.8]
      3 frames