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

Ask Your Question
0

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 !

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3126]{quote}

asked 2009-06-05 15:16:46 -0500

pruggia gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi,

Did you follow the readme.txt file on the ${gs_home}/tools/maven? See if this helps.
If not, please also report on the exact version you're using.

Cheers,
Guy

answered 2009-06-08 04:21:19 -0500

nirpaz gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-06-05 15:16:46 -0500

Seen: 69 times

Last updated: Jun 08 '09