databricks / reference-apps

Spark reference applications
Other
656 stars 342 forks source link

Cant import maven project Log-Analyze #91

Open Sam-SFO opened 7 years ago

Sam-SFO commented 7 years ago

Using jdk8, Maven 3.3.3, Eclipse Mars Release (4.5.0), Log-Analyzer application

Trying to import a Maven project into eclipse (Import 'existing Maven project'). Getting error: CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from https://repo.maven.apache.org/maven2

Have tried to install this plugin- whatever I tried 'Install New Software"- did not work. Tried adding a couple of M2E connectors also. I now have: m2e connector for maven-remote-resources-plugin m2e connector for the Maven Dependency Plugin

How to solve this? Thanks

Sam-SFO commented 7 years ago

I was finally able to import into eclipse (mvn eclipse:eclipse) . But cant run it ? How do I start the sparks-master on windows? Does this work on Sparks2 only? I was trying to use sparks1.6.