I used javapos in my project for the communication with a rfid printer. I developed it in Eclipse.
When I run the project in eclipse everything works fine.
But when I run it from cmd I get the error:
I/O warning : failed to load external entity "wineet.xml" For testing I deleted wineet.xml and than I run the program in eclipse and I get the same error.
I know the wineet.xml must be in the root of the project.
And when I look in the .jar that I have created with Eclipse the wineet.xml is in the root of the project.
my run commands in cmd are:
java -Djna.library.path=C:\workspace_europe_32\StreamSer vePrintIER560\drivers -classpath "C:\streamserve_jar\streamserve_print.jar;C:\works pace_europe_32\StreamServePrintIER560_streamserve_ print\lib\jcl.jar;C:\workspace_europe_32\StreamSer vePrintIER560_streamserve_print\lib\jcl2.3.0-RC3.jar;C:\workspace_europe_32\StreamServePrintIER 560_streamserve_print\lib\jna-3.2.7.jar;C:\workspace_europe_32\StreamServePrintI ER560_streamserve_print\lib\jpos.jar;C:\workspace_ europe_32\StreamServePrintIER560_streamserve_print \lib\jpos113_controls.jar;C:\workspace_europe_32\S treamServePrintIER560_streamserve_print\lib\jsr80-1.0.1.jar;C:\workspace_europe_32\StreamServePrintI ER560_streamserve_print\lib\jstrs.jar;C:\workspace _europe_32\StreamServePrintIER560_streamserve_prin t\lib\jstrscs.jar;C:\workspace_europe_32\StreamSer vePrintIER560_streamserve_print\lib\log4j-1.2.17.jar;C:\workspace_europe_32\StreamServePrint IER560_streamserve_print\lib\mtlgjpos-1.0.0.jar;C:\workspace_europe_32\StreamServePrintI ER560_streamserve_print\lib\slf4j.api-1.6.1.jar;C:\workspace_europe_32\StreamServePrintI ER560_streamserve_print\lib\slf4j.log4j12_1.5.2.ja r;C:\workspace_europe_32\StreamServePrintIER560_st reamserve_print\lib\xerces.jar;C:\workspace_europe _32\StreamServePrintIER560_streamserve_print\lib\x ercesImpl.jar;C:\workspace_europe_32\StreamServePr intIER560_streamserve_print\lib\xml-apis-1.4.01.jar" print.PrintBitmap1
Can anyone help me with this problem?
thx