Sun Java System Application Server Enterprise Edition 8.2 Troubleshooting Guide

Bundled ANT throws java.lang.NoClassDefFoundError in main Thread

When using the bundled Ant distribution for activities outside of Application Server, a java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher may be thrown in the main thread.


Using the bundled ANT for activities outside the Application Server environment is not recommended.