Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jolokia_1.0.0.Final, 1.0.0.CR2
    • Fix Version/s: jolokia_1.0.2.Final
    • Component/s: None
    • Labels:
      None

      Description

      Reported on IRC:

      Dejans-MacBook-Pro:swarm-demo-app deki$ java -version
      java version "1.8.0_65"
      Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
      Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
      Dejans-MacBook-Pro:swarm-demo-app deki$ java -jar restful-demo-application/target/restul-demo-application-1.0.1-SNAPSHOT-swarm.jar 
      Exception in thread "main" java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at org.wildfly.swarm.bootstrap.Main.invoke(Main.java:84)
              at org.wildfly.swarm.bootstrap.Main.run(Main.java:48)
              at org.wildfly.swarm.bootstrap.Main.main(Main.java:43)
      Caused by: java.lang.NoClassDefFoundError: org/wildfly/swarm/spi/api/Fraction
              at java.lang.Class.getDeclaredConstructors0(Native Method)
              at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
              at java.lang.Class.getConstructor0(Class.java:3075)
              at java.lang.Class.newInstance(Class.java:412)
              at org.wildfly.swarm.container.runtime.RuntimeServer.loadFractionConfigurations(RuntimeServer.java:456)
              at org.wildfly.swarm.container.runtime.RuntimeServer.start(RuntimeServer.java:170)
              at org.wildfly.swarm.container.Container.start(Container.java:333)
              at org.wildfly.swarm.container.Container.start(Container.java:324)
              at main.Main.main(Main.java:17)
              ... 7 more
      Caused by: java.lang.ClassNotFoundException: org.wildfly.swarm.spi.api.Fraction from [Module "org.wildfly.swarm.jolokia:runtime" from BootModuleLoader@37374a5e for finders [BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap:main), ClasspathModuleFinder, ApplicationModuleFinder(swarm.application:main), FlattishApplicationModuleFinder(swarm.application:flattish)]]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
              ... 16 more
      Dejans-MacBook-Pro:swarm-demo-app deki$ 
      

      Verified and reproduced.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bob.mcwhirter Bob McWhirter
                Reporter:
                bob.mcwhirter Bob McWhirter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: