Trying to migrate oracle data to mongo

49 views
Skip to first unread message

Prabhu R

unread,
Oct 24, 2013, 5:02:49 AM10/24/13
to sql-to-nosql-i...@googlegroups.com
While running ./run.sh Throws following error : 


Exception in thread "main" java.lang.NoClassDefFoundError: com/mongodb/MongoException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
at java.lang.Class.getMethod0(Class.java:2694)
at java.lang.Class.getMethod(Class.java:1622)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: com.mongodb.MongoException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more

Please help.

sathis kumar

unread,
Oct 24, 2013, 5:31:10 AM10/24/13
to sql-to-nosql-i...@googlegroups.com
Hi Prabhu,

You should put required mongo-db java libraries inside lib folder. Please let me know how it goes..


--
You received this message because you are subscribed to the Google Groups "sql-to-nosql-importer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sql-to-nosql-importe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Regards
 sathis

Prabhu R

unread,
Oct 24, 2013, 7:10:33 AM10/24/13
to sql-to-nosql-i...@googlegroups.com

Oct 24, 2013 4:36:53 PM com.mongodb.DBTCPConnector initDirectConnection
WARNING: Exception executing isMaster command on /127.0.**.**:27017
java.io.IOException: couldn't connect to [/127.0.**.**:27017] bc:java.net.ConnectException: Connection refused
at com.mongodb.DBPort._open(DBPort.java:214)

Could you please help me here???
Reply all
Reply to author
Forward
0 new messages