java - Probelm with Maven Install using WAS7 -


note: using maven 3+, see comments. update accepted answer able to.

i trying compile project using maven coupled was7 unfortunately seem receiving following error:

slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details. [error] error executing maven. [error] com.google.inject.provisionexception: guice provision errors:  1) error in custom provider, java.lang.typenotpresentexception: type javax.enterprise.inject.typed not present   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.cipher.plexuscipher   while locating org.sonatype.plexus.components.sec.dispatcher.defaultsecdispatcher   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.sec.dispatcher.secdispatcher annotated @com.google.inject.name.named(value=maven)   while locating org.apache.maven.settings.crypto.defaultsettingsdecrypter   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.settings.crypto.settingsdecrypter   while locating org.apache.maven.repository.legacy.legacyrepositorysystem   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.repository.repositorysystem   while locating org.apache.maven.project.defaultprojectbuildinghelper   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.project.projectbuildinghelper   while locating org.apache.maven.project.defaultprojectbuilder   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.project.projectbuilder   while locating org.apache.maven.defaultmaven   @ classrealm[plexus.core, parent: null]   @ 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 in custom provider, java.lang.typenotpresentexception: type javax.enterprise.inject.typed not present   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.cipher.plexuscipher   while locating org.sonatype.plexus.components.sec.dispatcher.defaultsecdispatcher   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.sec.dispatcher.secdispatcher annotated @com.google.inject.name.named(value=maven)   while locating org.apache.maven.settings.crypto.defaultsettingsdecrypter   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.settings.crypto.settingsdecrypter   while locating org.apache.maven.repository.legacy.legacyrepositorysystem   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.repository.repositorysystem   while locating org.apache.maven.project.defaultprojectbuildinghelper   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.project.projectbuildinghelper   while locating org.apache.maven.project.defaultprojectbuilder   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.project.projectbuilder   while locating org.apache.maven.defaultmaven   @ classrealm[plexus.core, parent: null]   @ classrealm[plexus.core, parent: null]   while locating org.apache.maven.maven  1 error [error] caused by: type javax.enterprise.inject.typed not present [error] caused by: javax.enterprise.inject.typed 

i have confirmed jre system library 7 checking javase-1.6 in case points was7.

i have tried looking javax.enterprise.inject.typed , doesn't seem appear anywhere, part of javaee6, (i think) 7 built off of.

please let me know if additional info needed...

so happened using embedded version of maven packaged myeclipse.

this version of maven v3.0.4 uses guice opposed plexus in order inject dependencies. guice uses components of javaee6 not exist in javaee5 extended was7.

so resolve issue point


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -