IKVM:Failed to initialize JAXP 1.3 DatatypeFactory class.in IKVM.OpenJDK.XML.Bind error

StackOverflow https://stackoverflow.com/questions/8795083

  •  15-04-2021
  •  | 
  •  

문제

I use ikvm with mpxj project.

I have a very simple code like this....

 var writer = new MSPDIWriter();
 writer.write(project2, ofilename);

I get an exception .net, Failed to initialize JAXP 1.3 DatatypeFactory class.in IKVM.OpenJDK.XML.Bind

Error:The type initializer for 'net.sf.mpxj.mspdi.MSPDIWriter' threw an exceptio n. Error:Failed to initialize JAXP 1.3 DatatypeFactory class. Error:Provider com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryI mpl not found Error:com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl

I can see this problem seems to be related to IKVM. Can you tell me what is wrong?

도움이 되었습니까?

해결책

It was a problem related to this. Not all ikvm dlls were in the same directory as the executable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top