aspose file tools*
The moose likes Web Services and the fly likes com.google.inject.ProvisionException: Guice provision errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "com.google.inject.ProvisionException: Guice provision errors" Watch "com.google.inject.ProvisionException: Guice provision errors" New topic
Author

com.google.inject.ProvisionException: Guice provision errors

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
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

Joined: Apr 08, 2004
Posts: 1368
Looks it's maven issue, not Spring Web Services issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com.google.inject.ProvisionException: Guice provision errors
 
Similar Threads
Eclipse Error
Maven Project Running Problem
Could not resolve dependencies for maven project
Maven build error
ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.1:resources