Errors arise due to differences between the internal way to build eclipse and the classpath available to ant at runtime.
Eclipse first imports rt.jar from the system path. This can lead to the absence of dependencies in javax.net packages (for example, javax.net.ssl.SSLException), which is located in jsse.jar. To fix, correctly click on the project-> Properties-> Java Build Path-> Libraries-> Add Library-> JRE Library.
Secondly, the game has dependencies on classes from ant runtime. To fix, correctly click on the project-> Properties-> Java Build Path-> Libraries-> Add Library-> User Library There you must add a new user library (maybe call it ANT) and add all ant -jars from your ant installation ( / usr / share / ant / lib / worked for me). Then add this custom library to reproduce the project creation path.
Oliver sauder
source share