Project with material required for the Scala processing certification course, by Datio America.
Make a clean install in the root directory of the project
mvn clean install
Go to your IDE run configurations window and set the following configuration:
- Main class:
com.bbva.datioamproduct.fdevdatio.Launcher
- VM options:
-Dspark.master=local[*] -Dorg.apache.logging.log4j.level=INFO
- Program arguments should be a valid path to a configuration file:
example/src/test/resources/config/application-local.conf
- Working directory should point to the root path of the project:
/home/example/workspace/ExampleDataprocSDKTest
- Use classpath of the main implementation module =>
example
You will also need to enable the maven profile run-local
.
For newer versions of Intellij IDEA, make sure that you have selected both 'Add VM Options' and 'Include dependencies with "Provided" scope' features.
- I got
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
running this project in a local environment
Please add "logback" dependency in the parent POM file:
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>