xml2tex icon indicating copy to clipboard operation
xml2tex copied to clipboard

Error: Could not find or load main class com.xmlcalabash.drivers.Main

Open ShiChaoJieCoder opened this issue 4 years ago • 1 comments

施超杰@LAPTOP-Q773LLAB MINGW64 /f/graduate/Sheffield/essay project/xml2tex $ calabash/calabash.sh -i source=xml2tex/example/example.xml -i conf=xml2tex/example/conf-hubcssa.xml xml2tex/xpl/xml2tex.xpl calabash/calabash.sh: line 48: [: /f/graduate/Sheffield/essay: binary operator expected calabash/calabash.sh: line 100: [: /f/graduate/Sheffield/essay: binary operator expected calabash/calabash.sh: line 102: [: /f/graduate/Sheffield/essay: binary operator expected Error: Could not find or load main class com.xmlcalabash.drivers.Main

ShiChaoJieCoder avatar Jul 03 '21 10:07 ShiChaoJieCoder

Which version of calabash/calabsh.sh are the line numbers referring to? Or maybe you can paste the content of one of these lines, for example, 48.

I think it’s possible that the bash scripts fail in MinGW. We only treat Cygwin specially. You could try calabash.bat or you can run it from wsl (Linux subsystem for Windows).

gimsieke avatar Jul 04 '21 12:07 gimsieke