Login Failed
Hi there,
I'm attempting to run the sample 'Migrate Products, Pricebooks and PricebookEntries' - on the mvn exec:java -Dexec.mainClass="migrator.module.client.MigrateProducts" -pl datamigrator-module command i'm getting Login failed! error.
Any advice would be highly appreciated. I'm keen to be able to utilize this tool.
my build.properties file looks like this:
source.sfdc.login=<SOURCE_SF_USERNAME>
source.sfdc.password=<SOURCE_SF_PASSWORD>
source.env.endpoint="https://salesforce.com/services/Soap/u/44.0/"
# TARGET
target.sfdc.login=<TARGET_SF_USERNAME>
target.sfdc.password=<TARGET_SF_PASSWORD>
target.env.endpoint="https://test.salesforce.com/services/Soap/u/44.0/"
# # Optional proxy
# env.proxy.host=
# env.proxy.port=
target.threads.count=1
source.type=org
object.mapping.dir=/object-mappings/
data.mapping.dir=/data-mappings/ ```
@briannabrownOE Did you do a "mvn clean install" after editing build.properties with your password?
In addition to that, I see that your build.properties has few " and ```.
@anoop-76 thanks for the response. I didn't realize I had to run mvn clean install prior to being able to run the command to pull the data. However, now after running the 'mvn clean install' followed by 'mvn exec:java -Dexec.mainClass="migrator.module.client.MigrateProducts" -pl datamigrator-module' i'm getting the following error:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project datamigrator-module: An exception occured while executing the Java class. null: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project datamigrator-module: An exception occured while executing the Java class. null
Hello, @briannabrownOE. I have run into the exact same problem. Did you find a cause of the issue? If @anoop-76 do you have any suggestions? Thank you.