[infinispan-issues] [JBoss JIRA] (ISPN-5026) The Infinispan 7.0.2's GUI demo cannot be properly launched in Windows 7

Codrin Bucur (JIRA) issues at jboss.org
Mon Oct 1 09:20:05 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-5026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Codrin Bucur reassigned ISPN-5026:
----------------------------------

    Assignee: Ion Savin  (was: Codrin Bucur)


> The Infinispan 7.0.2's GUI demo cannot be properly launched in Windows 7
> ------------------------------------------------------------------------
>
>                 Key: ISPN-5026
>                 URL: https://issues.jboss.org/browse/ISPN-5026
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Configuration, Demos and Tutorials
>    Affects Versions: 7.0.2.Final
>         Environment: OS: Windows 7 sp1 64bit
> CPU: Intel Core i5-4460
> JDK: Oracle JDK 1.7.0_60
>            Reporter: Erich Meier
>            Assignee: Ion Savin
>            Priority: Minor
>             Fix For: 7.0.3.Final, 7.1.0.Final
>
>   Original Estimate: 2 minutes
>  Remaining Estimate: 2 minutes
>
> 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%



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list