maven


Error while creating Maven Framework through cmd


I am new to Maven and learning it by myself with the help of online tutorials.
I have been getting error while executing archetype:generate command in cmd.
Here is the error I am getting :\
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.884 s
[INFO] Finished at: 2017-05-07T23:00:07+05:30
[INFO] Final Memory: 8M/65M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-archetype-plugin:3.0.1': com.google.inject.ProvisionException: Unable to provision, see the following errors:
[ERROR]
[ERROR] 1) No implementation for org.apache.maven.archetype.ArchetypeManager was bound.
[ERROR] while locating org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo
[ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-archetype-plugin:3.0.1, parent: sun.misc.Launcher$AppClassLoader#70dea4e] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with #com.google.inject.name.Named(value=org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
I have searched a lot for the solution but nowhere did I find appropriate answer. I have uptil now completed the following steps: 1)Downloaded and extracted "apache-maven-3.5.0". 2)Configured the M2_HOME and PATH variables.

Related Links

Grails refresh-dependencies doesn't download snapshot dependency from local maven repository
Copy test resources from one submodule to the others
What is an uber jar?
Add jar file to Maven Reactor modules list
JAX-WS with Spring integration with Jetty server
POM for 'log4j:log4j:pom:1.2.15:compile' is invalid
Adding a set of dependencies in maven
Is it possible to get Maven dependencies in a property at run-time?
Maven Repository
Correct way to maintain a company-wide POM
How to do websphere 7 deployment automation using maven?
Deploy war in multiple module project on maven
Bad version number in .class file
Getting ReportNG to generate its output in Maven's “site”?
Dbdeploy maven plugin not finding changelog table
java.lang.NullPointerException executing accelo with maven

Categories

HOME
atom-editor
amazon-ec2
tizen
angular-material
fft
react-router
sqlite3
ip
win32gui
opengl-es-2.0
flyway4
datastax-java-driver
upload
append
floating-action-button
numeral.js
visual-studio-cordova
flask-wtforms
ups
msp430
iolanguage
libtiff
seaborn
facebook-page
plunker
telerik-reporting
claims-based-identity
android-widget
windows-error-reporting
social-media
applozic
atlassian-crucible
gsmcomm
unboundid
nat
exuberant-ctags
lxd
google-api-nodejs-client
vxworks
main
theano.scan
unspecified
cookiecutter-django
mapzen
janrain
jvm-languages
isbn
sencha-touch-2.3
avconv
dotcover
rails-routing
lowpass-filter
libusb-win32
nsarray
boost-preprocessor
qtwebview
akka-cluster
python-cryptography
topbeat
objective-c-swift-bridge
root-framework
angular-strap
angular-cache
gridpane
probability-density
home-directory
merge-conflict-resolution
paypal-express
master-slave
captivenetwork
bluegiga
ipconfig
ora-00900
simple-framework
quicklisp
sframe
event-bubbling
composite
sorl-thumbnail
nstableviewcell
qpainter
java.util.concurrent
hyprlinkr
prettify
c18
oam
gridfs
sitemesh
ruby-datamapper
tinn-r
angularjs-controller
simba
libstdc++
mt
ocx
code-cleanup
cufon
f#-powerpack
django-tagging
self-extracting
recent-documents
calling-convention
imac
cxxtest
asp.net-mvc-areas
dmx512
infrastructure
temporal-database
anti-piracy
noscript
3gp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App