Error:
“WARNING:This operation will destroy existing data in the database:”
Do you wish to continue? (Y or N)y
Exception in thread “Main Thread” java.lang.NoClassDefFoundError: com/primavera/
database/tools/Dataloader/RunDataloader
Caused by: java.lang.ClassNotFoundException: com.primavera.database.tools.Datalo
ader.RunDataloader
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Could not find the main class: com.primavera.database.tools.Dataloader.RunDatalo
ader. Program will exit.
Usually you get this error if the directory to the location of the rundataloader.bat file is not on the c drive.
So if you cannot change the directory to the correct drive for example e:\ then you will need to use powershell and try again.