문제

I get the following error when running the configuration xml file from command line as stated on mybatis site. I run “java –jar mybatis-generator-core-1.3.2.jar –configfile mbg.xml –overwrite –verbose”

error:

enter image description here

Any help would be appreciated.

도움이 되었습니까?

해결책

Most likely you have copy-pasted the command from their website. The problem is they used a strange character for "-".

As a proof, go to this website and insert the "-" (dash) character from their website command and click on "Show ASCII Key Code". It will show an window where the decimal key for that character is 8211. If you insert from your keyboard the "-" character, the decimal key displayed is 45, which is the correct character.

So, you need to type the command by hand or you can copy-paste the command below:

java -jar mybatis-generator-core-1.3.2.jar -configfile mbg.xml -overwrite -verbose
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top