1 Reply Latest reply on Feb 24, 2017 6:57 AM by Anup Dey

    org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class

    Sundar S Newbie

      Hi,

       

      I was trying to share common libraries in my jboss7. my common jars in "jboss/modules/com/iii/ppp/main/module.xml & jars"

       

      My module.xml file is

       

      <?xml version="1.0" encoding="UTF-8"?>

      <module xmlns="urn:jboss:module:1.1" name="com.iii.ppp">

       

       

          <resources>

              <resource-root path="vaadin-calendar-2.0.0.jar"/>

              <resource-root path="vaadin-charts-1.1.3.jar"/>

              <resource-root path="vaadin-client-7.6.2.jar"/>

              <resource-root path="vaadin-client-compiled-7.6.2.jar"/>

              <resource-root path="vaadin-client-compiler-7.6.2.jar"/>

              <resource-root path="vaadin-client-compiler-deps-1.2.0.jar"/>

              <!-- <resource-root path="vaadin-lazyquerycontainer-2.1.16.jar"/> -->

              <resource-root path="vaadin-push-7.6.2.jar"/>

              <resource-root path="vaadin-sass-compiler-0.9.13.jar"/>

              <resource-root path="vaadin-server-7.6.2.jar"/>

              <resource-root path="vaadin-shared-7.6.2.jar"/>

              <resource-root path="vaadin-slf4j-jdk14-1.6.1.jar"/>

              <resource-root path="vaadin-themes-7.6.2.jar"/>

              <resource-root path="vaadin-widgets-7.6.2.jar"/>

          </resources>

       

       

          <dependencies>

              <module name="javaee.api"/>

              <module name="org.jboss.staxmapper"/>

              <module name="org.jboss.as.controller"/>

              <module name="org.jboss.as.server"/>

              <module name="org.jboss.modules"/>

              <module name="org.jboss.msc"/>

              <module name="org.jboss.logging"/>

              <module name="org.jboss.vfs"/>

          </dependencies>

      </module>

       

      My standalone.xml file is,

       

      <subsystem xmlns="urn:jboss:domain:ee:1.0">

                  <global-modules>

                      <module name="com.iii.ppp" slot="main"/>

                  </global-modules>

      </subsystem>