Posted by: peteinman | January 30, 2009

Deployment Error NoClassDefFound

I had this today and I’ve had it a few other times when deploying an application on Weblogic 8.1.

java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util

A bit of a weird error as the application looked like it deployed, but actually failed.

What this turned out to be was a missing ANT folder.

I’d had a compatibility issue between WebLogic 8.1 and ANT 1.7 which meant I had to rename the ANT directory in the WebLogic distribution.

Anyway, putting “c:\bea\weblogic81\server\lib\ant” directory back solved it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: