ANT: java.lang.NoClassDefFoundError

Hi

I just upgraded my version of Idea to deal with a problem running Tomcat in debug mode and now I can't build any of my ant tasks. (using ant built into IntelliJ)

Whenever I run my ant build I get the following error.
"java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util"

I have verified that the oro.jar is in Intelli/J's 'lib' directory and restarted Intelli/J.

Still get that error. This build filel worked fine before and works on the command line.

Any help would be welcome.

Thanks.

1 comment
Comment actions Permalink

you have to add oro.jar in the Ant settings classpath not the global intellij lib directory. Look at the properties icon on the toolbar of the Ant toolwindow.

Jacques

0

Please sign in to leave a comment.