Hi,
Running "mvn test" fails GridCommandLineLoaderTest for ignite-2.0 branch. I haven't looked deep into the test case, but this test under "core" uses a Spring XML file. The class responsible to read the configuration file and start Ignite is present under ignite-spring module. Should this test be moved to ignite-spring? Branch: ignite-2.0 My fork: rmohta/ignite.git I had merged all the commits from upstream/ignite-2.0 to my fork on 24th Jan 2017. Error Stack Trace: [22:08:35,253][INFO ][main][root] >>> Starting test class: GridCommandLineLoaderTest <<< [22:08:35,264][INFO ][main][root] >>> Starting test: GridCommandLineLoaderTest#testLoader <<< [22:08:35,264][INFO ][test-runner-#1961%cmdline.GridCommandLineLoaderTest%][root] Loading Grid from configuration file: /home/datascience/Documents/Projects/ignite/modules/core/src/test/config/loaders/grid-cfg.xml class org.apache.ignite.IgniteException: Failed to create Ignite component (consider adding ignite-spring module to classpath) [component=SPRING, cls=org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl] at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:940) at org.apache.ignite.Ignition.start(Ignition.java:350) at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302) ... Caused by: class org.apache.ignite.IgniteCheckedException: Failed to create Ignite component (consider adding ignite-spring module to classpath) [component=SPRING, cls=org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl] at org.apache.ignite.internal.IgniteComponentType.componentException(IgniteComponentType.java:320) at org.apache.ignite.internal.IgniteComponentType.create0(IgniteComponentType.java:296) at org.apache.ignite.internal.IgniteComponentType.create(IgniteComponentType.java:207) at org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:636) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:748) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:618) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:588) at org.apache.ignite.Ignition.start(Ignition.java:347) ... 11 more Caused by: java.lang.ClassNotFoundException: org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:97) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.apache.ignite.internal.IgniteComponentType.create0(IgniteComponentType.java:282) ... 18 more |
Free forum by Nabble | Edit this page |