使用ant编译时找不到JDTCompilerAdapter的解决办法

使用ant编译老是报找不到JDTCompilerAdapter,解决办法如下:

  1. 确认以下的jar已经加到classpath中 101338_4XWq_3203667.png
  2. 确认右键build.xml, run as -> external tools configurations -> jre -> running jre -> run in the same jre in the workspace101911_R7UM_3203667.png

转载于:https://my.oschina.net/u/3203667/blog/1559675