Posts

Creating new project with spark , scala ,eclipse and maven build tool

Image
A) You will have to download scala plugin in your eclipse with the following steps:  1) In Eclipse under help > Install new software > Paste this link and install it using normal installation process.  2) Restart eclipse. B) Create new maven project and assign it some name like ' Spark Sample Project ' NOTE : If you are creating  project for the first time it will take time to load all the maven packages. 2) Right click on project > configure > Add scala nature    After adding scala nature you ll be able to see the above project structure. Now you ll have to remove scala library container and ll have to select the JRE version which you have installed on your system. In my case it's JDK 1.8 3) Right click on the project > build path > configure build path > libraries section . Under libraries section remove scala library and click on add library and select the JRE library which is installed in your system. Refer below screenshot: