0

I am able to run fix with UseDataDictionary=N but when I turn this into UseDataDictionary=Y

FIX44.xml: Could not parse data dictionary file

Someone please help me what is wrong.

Caused by: quickfix.ConfigError: Could not parse data dictionary file
at quickfix.DataDictionary.load(DataDictionary.java:857)
at quickfix.DataDictionary.read(DataDictionary.java:838)
... 14 more
Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS

    [DEFAULT]
ConnectionType=initiator
HeartBtInt=60
ReconnectInterval=1
FileStorePath=.\fixfiles\initiator
FileLogPath=.\log
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
DataDictionary=FIX44.xml
SocketReuseAddress=Y
SocketKeepAlive=Y
SocketTcpNoDelay=Y
ResetOnLogon=Y
bugCracker
  • 3,656
  • 9
  • 37
  • 58
  • 1
    Are you running with a JDK9 or higher? Could you try adding `--add-modules java.se.ee` as arguments. Maybe this does also help: https://stackoverflow.com/questions/45723488/jdk-9-junit-5-test-compile-with-springextension-produces-java-lang-noclassdeffo – Christoph John May 11 '20 at 10:48
  • I am compiling with Java 8 and still keep getting error. – bugCracker May 13 '20 at 04:16
  • Compilation does not matter in this case. With which JRE or JDK do you run it? – Christoph John May 13 '20 at 09:43

1 Answers1

0

Well the QF library is saying that it can load the DD but not parse it, therefore your DD is corrupt. I would recommend looking at the default DD that comes with the install pack.

rupweb
  • 3,052
  • 1
  • 30
  • 57