Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5026

The Infinispan 7.0.2's GUI demo cannot be properly launched in Windows 7

    XMLWordPrintable

Details

    Description

      When running the runGuiDemo.bat. I get the information below:
      Exception in thread "main" java.lang.NoClassDefFoundError: org/infinispan/util/logging/LogFactory
      at org.infinispan.demo.InfinispanDemo.<clinit>InfinispanDemo.java:51)
      Caused by: java.lang.ClassNotFoundException: org.infinispan.util.logging.LogFactory
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      ... 1 more

      this problem is caused by the inproper java classpath configuration in runGuiDemo.bat

      I have fixed this bug by delete code section below:
      for %%i in (%ISPN_HOME%*.jar) do (
      set CP=%CP%;%%i
      )
      and add three lines:
      set CP=%ISPN_HOME%\demos\gui\infinispan-embedded-7.0.2.Final.jar;%CP%
      set CP=%ISPN_HOME%\demos\gui\infinispan-embedded-query-7.0.2.Final.jar;%CP%
      set CP=%ISPN_HOME%\demos\gui\infinispan-remote-7.0.2.Final.jar;%CP%
      after: set CP=%ISPN_HOME%\demos\gui\infinispan-gui-demo.jar;%CP%

      Attachments

        Activity

          People

            isavin_jira Ion Savin (Inactive)
            jxmsz001 Erich Meier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 minutes
                2m
                Remaining:
                Remaining Estimate - 2 minutes
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified