You need to sign in to do that
Don't have an account?
tggagne
Bean class [com.salesforce.lexiloader.process.ProcessRunner] not found
I'm just trying to get started using the data loader from the command line, and am already wishing I could dispense with the configuration files.
Anyway, I've created my process-conf.xml (below) using examples but it seems to be complaining about a missing class, com.salesforce.lexiloader.process.ProcessRunner.
I've googled for the error but it seems I'm the only one running into this (as far as google knows).
I'm running on Windows Vista.
Also, do I need the initial run date thing?
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="testBusinessAccount"
class="com.salesforce.lexiloader.process.ProcessRunner"
singleton="false">
<description>Insert Business Account from testBusinessAccount.csv</description>
<property name="name" value="insertBusinessAccount"/>
<property name="configOverrideMap">
<map>
<entry key="sfdc.debugMessages" value="true"/>
<entry key="sfdc.debugMessagesFile" value="C:\Users\Thomas\Documents\SQL Server Management Studio\Projects\ccl\testdata\log\testBusinessAccount.txt"/>
<entry key="sfdc.endpoint" value="https://www.salesforce.com"/>
<entry key="sfdc.username" value="*******"/>
<entry key="sfdc.password" value="*******"/>
<entry key="sfdc.timeoutSecs" value="540"/>
<entry key="sfdc.loadBatchSize" value="200"/>
<entry key="sfdc.entity" value="Account"/>
<entry key="process.operation" value="insert"/>
<entry key="process.mappingFile" value="C:\Users\Thomas\Documents\SQL Server Management Studio\Projects\ccl\testdata\testBusinessAccount.sdl"/>
<entry key="process.outputError" value="C:\Users\Thomas\Documents\SQL Server Management Studio\Projects\ccl\testdata\error\testBusinessAccount.csv"/>
<entry key="process.outputSuccess" value="C:\Users\Thomas\Documents\SQL Server Management Studio\Projects\ccl\testdata\sucess\testBusinessAccount.csv"/>
<entry key="dataAccess.name" value="C:\Users\Thomas\Documents\SQL Server Management Studio\Projects\ccl\testdata\testBusinessAccount.csv" />
<entry key="dataAccess.type" value="csvRead" />
<entry key="process.initialLastRunDate" value="2007-06-06T00:00:00.000-0800"/>
</map>
</property>
</bean>
</beans>
Are you maybe missing a JAR file in your classpath somewhere?
If you are using a more recent dataloader with an old process-conf.xml as template (which is what I did) then
class="com.salesforce.lexiloader.process.ProcessRunner"
should be changed to
class="com.salesforce.dataloader.process.ProcessRunner"