maven 3 - Unable to run mvn install -


i getting below error while trying execute mvn install command.

    [warning] error injecting: org.sonatype.plexus.build.incremental.defaultbuildcontext java.lang.noclassdeffounderror: org/codehaus/plexus/util/scanner         @ java.lang.class.getdeclaredconstructors0(native method)         @ java.lang.class.privategetdeclaredconstructors(class.java:2493)         @ java.lang.class.getdeclaredconstructors(class.java:1901)         @ com.google.inject.spi.injectionpoint.forconstructorof(injectionpoint.java:245)         @ com.google.inject.internal.constructorbindingimpl.create(constructorbindingimpl.java:99)         @ com.google.inject.internal.injectorimpl.createuninitializedbinding(injectorimpl.java:653)         @ com.google.inject.internal.injectorimpl.createjustintimebinding(injectorimpl.java:863)         @ com.google.inject.internal.injectorimpl.createjustintimebindingrecursive(injectorimpl.java:790)         @ com.google.inject.internal.injectorimpl.getjustintimebinding(injectorimpl.java:278)         @ com.google.inject.internal.injectorimpl.getbindingorthrow(injectorimpl.java:210)         @ com.google.inject.internal.injectorimpl.getproviderorthrow(injectorimpl.java:986)         @ com.google.inject.internal.injectorimpl.getprovider(injectorimpl.java:1019)         @ com.google.inject.internal.injectorimpl.getprovider(injectorimpl.java:982)         @ com.google.inject.internal.injectorimpl.getinstance(injectorimpl.java:1032)         @ org.eclipse.sisu.space.abstractdeferredclass.get(abstractdeferredclass.java:48)         @ com.google.inject.internal.providerinternalfactory.provision(providerinternalfactory.java:86)         @ com.google.inject.internal.internalfactorytoinitializableadapter.provision(internalfactorytoinitializableadapter.java:55)         @ com.google.inject.internal.providerinternalfactory$1.call(providerinternalfactory.java:70)         @ com.google.inject.internal.provisionlistenerstackcallback$provision.provision(provisionlistenerstackcallback.java:100)         @ com.google.inject.internal.provisionlistenerstackcallback$provision.provision(provisionlistenerstackcallback.java:116) .... .... .... [error] failed execute goal org.jasig.mojo.jspc:jspc-maven-plugin:2.0.0:compile (default) on project framework: execution default of goal org.jasig.mojo.jspc:jspc-maven-plugin:2.0.0:compile failed: required class missing while executing org.jasig.mojo.jspc:jspc-maven-plugin:2.0.0:compile: org/codehaus/plexus/util/scanner     [error] -----------------------------------------------------     [error] realm =    plugin>org.jasig.mojo.jspc:jspc-maven-plugin:2.0.0    [error] strategy = org.codehaus.plexus.classworlds.strategy.selffirststrategy     [error] urls[0] = file:/c:/users/xbblshs/.m2/repository/org/jasig/mojo/jspc/jspc-maven-plugin/2.0.0/jspc-maven-plugin-2.0.0.jar     [error] urls[1] = file:/c:/users/xbblshs/.m2/repository/org/jasig/mojo/jspc/jspc-compiler-tomcat7/2.0.0/jspc-compiler-tomcat7-2.0.0.jar [error] urls[2] = file:/c:/users/xbblshs/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar [error] urls[3] = file:/c:/users/xbblshs/.m2/repository/org/apache/ant/ant/1.9.0/ant-1.9.0.jar [error] urls[4] = file:/c:/users/xbblshs/.m2/repository/org/apache/ant/ant-launcher/1.9.0/ant-launcher-1.9.0.jar [error] urls[5] = file:/c:/users/xbblshs/.m2/repository/org/apache/tomcat/tomcat-jasper/7.0.39/tomcat-jasper-7.0.39.jar [error] urls[6] = file:/c:/users/xbblshs/.m2/repository/org/apache/tomcat/tomcat-servlet-api/7.0.39/tomcat-servlet-api-7.0.39.jar [error] urls[7] = file:/c:/users/xbblshs/.m2/repository/org/apache/tomcat/tomcat-juli/7.0.39/tomcat-juli-7.0.39.jar     [error] urls[8] = file:/c:/users/xbblshs/.m2/repository/org/apache/tomcat/tomcat-jsp-api/7.0.39/tomcat-jsp-api-7.0.39.jar [error] urls[9] = file:/c:/users/xbblshs/.m2/repository/org/apache/tomcat/tomcat-el-api/7.0.39/tomcat-el-api-7.0.39.jar 

i newbie maven. not sure missing. please advise me on how resolve , run mvn install.

so, here's dependency need add pom.xml file

<dependency>     <groupid>org.jasig.mojo.jspc</groupid>     <artifactid>jspc-maven-plugin</artifactid>     <version>2.0.0</version> </dependency> 

then try mvn install once again


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -