I have an ant script that used the catalina-ant.jar file to reload my app after the build. Everything works fine from the command line but intellij 4.0.3 does not like it. It can not find the class files. I tried replacing ant.jar and optional.jar with the ones from ant 1.5.1 and then putting catalina-ant.jar in ]]>/lib. I then tried putting the old ant.jar and optional.jar back in but neither of these worked. Has anyone done this? Can anyone help me?