문제

I am trying to set up my development environment for Android Bootstrap. I cloned the repo and then executed the maven command: "mvn package clean" but whenever I do get the following error message:

Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project android-bootstrap: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:2.6:resources: org/codehaus/plexus/util/Scanner

I am using maven version 3.1.1, java version 1.7.0_51

How do I resolve this issue?

도움이 되었습니까?

해결책 2

I was able to fix this by removing the .m2 folder and re-downloading the dependencies. I am not sure why that worked or the what the error message means. So I will still leave this error message open.

다른 팁

apache-maven-3.1.1 not suuported now Android. Use apache-maven-3.0.5. It working for me

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top