NXCExeption when using csv importer
-
Thank you in advance for your help!
I am standing up a new clean install of the 2.2.4 software. I am using the NetXMS .csv importer and I have the config.properties configured and the .csv file of nodes. When I run the java -jar netxms-csv-importer.1.1.1.jar command it starts the import then throws a "Error: NXCException - Server uses incompatible version of communication protocol.
Any help is appreciated.
Russell
-
-
Thank you for the quick turn around. The protocols error has went away. When I run the .csv importer is throws several java errors. See below.
c:\NetXMS\database>java -jar C:\NetXMS\database\netxms-csv-importer-1.1.1.jar
Application starting.
Loading configuration properties file.
Loading nodes from the .csv file.
Found 39 nodes in .csv file.
Connecting to the NetXMS server.
Exception in thread "main" java.lang.NoClassDefFoundError: org/netxms/base/Logge
r
at org.netxms.client.NXCSession.connect(NXCSession.java:1800)
at org.netxms.client.NXCSession.connect(NXCSession.java:1777)
at com.github.tomaskir.netxms.csvimporter.netxms.NetxmsConnector.connect
(NetxmsConnector.java:28)
at com.github.tomaskir.netxms.csvimporter.Application.main(Application.j
ava:35)
Caused by: java.lang.ClassNotFoundException: org.netxms.base.Logger
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 morec:\NetXMS\database>
The nodes do not show in NETXMS. Thank you again for your help.
Russell
-
I just pushed correct 2.2.4 libraries to maven central. Try rebuilding tool.
-
-
Hi, installed netxms-3.0, trying to transfer nodes, it gives an error.
java -jar netxms-csv-importer-1.1.2.jar
Application starting.
Loading configuration properties file.
Loading nodes from the .csv file.
Found 10 nodes in .csv file.
Connecting to the NetXMS server.
Error: NXCException - Несовместимая версия протокола обмена с сервером (server=[52, 3, 1, 1, 1, 25, 1, 2] client=[48, 2, 1, 1, 1, 12]). -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login