WebSphere Application Server & Liberty

 View Only
  • 1.  shared library not loaded

    Posted Wed September 29, 2021 09:59 AM
    Hi all,
    when I try to start my portlet i get:

    [29/09/21 15.06.34:867 CEST] 00000075 annotation W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses CWSRV8000W: Skipped class that failed to initialize for annotation scanning.
    java.lang.ClassNotFoundException: com.vaadin.spring.server.SpringVaadinServlet
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.loadClass(WASAnnotationHelper.java:829)


    I have checked that the jar vaadin-spring-1.0.2.jar is in the shared library and that shared library is associated with my portlet;
    Now I'm asking (I've also restarded the websphere) why my portlet cannot see the class? 

    thanks
    Francesco

    ------------------------------
    francesco Viscomi
    ------------------------------


  • 2.  RE: shared library not loaded
    Best Answer

    Posted Thu September 30, 2021 08:37 AM
    Can you describe how you setup the shared lib?  Make sure you have the correct name.

    Brian

    ------------------------------
    Brian S Paskin
    Sr. Web Engineer
    IBM Tech Garage
    ------------------------------



  • 3.  RE: shared library not loaded

    Posted Thu September 30, 2021 11:29 AM
    Yes It was a mistake by me;

    thanks really a lot;

    ------------------------------
    francesco Viscomi
    ------------------------------