Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Maven os:run-standalone

Hi ! When I run my PU inside a GSC or from eclipse, everything runs ok. But running from maven with os:run-standalone I get the following class not found exception, about a commons-logging class. That jar is listed as a dependency when i run "mvn dependency:tree" and is getting inside the lib directory inside the pu jar. What can be happening ? Here is the exception: Exception in thread "Processing Unit [data-import-master-1.0-PRE_ALPHA]" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.openspaces.pu.container.standalone.StandaloneProcessingUnitContainer.<clinit>(StandaloneProcessingUnitContainer.java:47) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.openspaces.maven.plugin.ContainerRunnable.run(ContainerRunnable.java:47) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:592) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) ... 5 more Thanks !

Maven os:run-standalone

Hi ! When I run my PU inside a GSC or from eclipse, everything runs ok. But running from maven with os:run-standalone I get the following class not found exception, about a commons-logging class. That jar is listed as a dependency when i run "mvn dependency:tree" and is getting inside the lib directory inside the pu jar. What can be happening ? Here is the exception: Exception in thread "Processing Unit [data-import-master-1.0-PRE_ALPHA]" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.openspaces.pu.container.standalone.StandaloneProcessingUnitContainer.<clinit>(StandaloneProcessingUnitContainer.java:47) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.openspaces.maven.plugin.ContainerRunnable.run(ContainerRunnable.java:47) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:592) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) ... 5 more Thanks !