Hi,  

I think you need to run "mvn clean install -Dtest=false" before setup the 
workspace of eclipse.  

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Thursday, May 9, 2013 at 7:21 AM, devendra0...@yahoo.com wrote:

> Hi Chris,  
>  
> Im a new contributor and am finding it difficult to compile code using maven
> due to the following error -  
>  
> [INFO] Compiling 43 source files to
> ~workspace/apache/camel/components/camel-scala/target/classes at
> 1368019913472  
> [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError:
> "-Xbootclasspath/a:/Users/apache
> maven/apache-maven-3/0/5/repo/org/scala-lang/scala-library/2/10/1/scala-library-2/10/1/jar"
>   
> [INFO] Caused by: java.lang.ClassNotFoundException:
> "-Xbootclasspath.a:.apache
> maven.apache-maven-3.0.5.repo.org.scala-lang.scala-library.2.10.1.scala-library-2.10.1.jar"
>   
> [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)  
> [INFO] at java.security.AccessController.doPrivileged(Native Method)  
> [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)  
> [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)  
> [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)  
> [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)  
>  
> Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.2:compile
> (default) on project camel-scala: wrap:
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1  
>  
> I cloned the git repo and using this command to build -  
> mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/my/workspace/  
>  
> Thanks
> -Dev
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/HEADS-UP-switch-our-CI-builds-from-SVN-to-GIT-tp5732092p5732202.html
> Sent from the Camel Development mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to