Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

com.google.inject.ProvisionException: Guice provision errors

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to web service and tried the spring web service by following the link:

"http://static.springsource.org/spring-ws/sites/1.5/reference/html/tutorial.html"

I got stuck when i try to execute the command:


mvn archetype:create -Da
rchetypeGroupId=org.springframework.ws \


I got the following error when executing the above command:

[ERROR] Error executing Maven.
[ERROR] com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting: org.apache.maven.DefaultMaven
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.Maven

1 error
role: org.apache.maven.Maven
roleHint:
[ERROR] Caused by: Guice provision errors:

1) Error injecting: org.apache.maven.DefaultMaven
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.Maven

1 error
[ERROR] Caused by: Guice provision errors:

1) Error injecting: org.apache.maven.project.DefaultProjectBuilder
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.project.ProjectBuilder
while locating org.apache.maven.DefaultMaven

1 error
[ERROR] Caused by: Guice provision errors:

1) Error injecting: org.apache.maven.project.DefaultProjectBuildingHelper
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.project.ProjectBuildingHelper
while locating org.apache.maven.project.DefaultProjectBuilder

1 error
[ERROR] Caused by: Guice provision errors:

1) Error injecting: org.apache.maven.repository.legacy.LegacyRepositorySystem
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.repository.RepositorySystem
while locating org.apache.maven.project.DefaultProjectBuildingHelper

1 error
[ERROR] Caused by: Guice provision errors:

1) Error injecting: org.apache.maven.artifact.resolver.DefaultArtifactResolver
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.artifact.resolver.ArtifactResolver
while locating org.apache.maven.repository.legacy.LegacyRepositorySystem

1 error
[ERROR] Caused by: Guice provision errors:

1) Error injecting: org.apache.maven.project.artifact.DefaultMetadataSource
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.artifact.metadata.ArtifactMetadataSource
while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver

1 error
[ERROR] Caused by: (class: org/apache/maven/project/artifact/MavenMetadataSource
, method: retrieve signature: (Lorg/apache/maven/repository/legacy/metadata/Meta
dataResolutionRequest;)Lorg/apache/maven/repository/legacy/metadata/ResolutionGr
oup;) Wrong return type in function
E:\Program Files\Apache-Tomcat6.0.14\apache-maven-3.0.1>


Please assist me to solve this issue.

Thanks
 
kri shan
Ranch Hand
Posts: 1460
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks it's maven issue, not Spring Web Services issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic