Page 1 of 1

MVN install throwng errors

Posted: Wed Oct 23, 2013 1:58 am
by varahavenkatesh
Hi,
I followed the setup tutorial as per the broad leaf setup guide.
When I run MVN install on demosite,I am getting the below listed error ,how to resolve this error:

Reactor Summary:
[INFO]
[INFO] ecommerce ......................................... SUCCESS [0.460s]
[INFO] core .............................................. SUCCESS [3.787s]
[INFO] admin ............................................. FAILURE [0.618s]
[INFO] site .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.136s
[INFO] Finished at: Wed Oct 23 10:42:46 IST 2013
[INFO] Final Memory: 10M/24M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:keytool-maven-plugin:1.2:genkey (genkey) on project admin: Execution genkey of goal org.codehaus.mojo:keytool-maven-plugin:1.2:genkey failed: Unable to load the mojo 'genkey' (or one of its required components) from the plugin 'org.codehaus.mojo:keytool-maven-plugin:1.2': com.google.inject.ProvisionException: Guice provision errors:
[ERROR]
[ERROR] 1) No implementation for org.codehaus.mojo.keytool.KeyToolCommandLineBuilder was bound.
[ERROR] while locating org.codehaus.mojo.keytool.DefaultKeyTool
[ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@be858]
[ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@be858]
[ERROR] while locating org.codehaus.mojo.keytool.KeyTool
[ERROR] while locating org.codehaus.mojo.keytool.GenkeyMojo
[ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@be858]
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.codehaus.mojo:keytool-maven-plugin:1.2:genkey)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.codehaus.mojo:keytool-maven-plugin:1.2:genkey

Please help me in resolving the above issue....

Re: MVN install throwng errors

Posted: Wed Oct 23, 2013 5:08 pm
by phillipuniverse
What version of Maven are you using?

Re: MVN install throwng errors

Posted: Tue Jan 14, 2014 9:34 am
by panopset
I got this error after going to JDK 8 ea. Failed using maven versions 2.0.11, 2.2.1, 3.0.5, and 3.1.1 (configured separate repositories for each in conf/settings.xml). Switched back to JDK 7 and the problem went away. It doesn't look like a maven or blc issue. According to the discussion here http://code.google.com/p/google-guice/issues/detail?id=757, Google is going to wait until Java 8 "stabilizes" before fixing this.

Those of us who like the bleeding edge will just have to wait a little while longer to go to Java 8. :cry:

Re: MVN install throwng errors

Posted: Tue Jan 14, 2014 11:20 am
by phillipuniverse
Ah yeah sorry about that. We have not done a review of Java 8 compatibility with Broadleaf yet, but plan to shortly after it is officially released.

Re: MVN install throwng errors

Posted: Fri Mar 20, 2015 9:45 am
by luky
Hi Philip,
Just this post is about a year old and curious about the implemtation of Java 8 support in Broadleaf. I still get this error, Is there a fix available for this error? and Java 8 is currently not supported by Broadleaf?