在Apache Commons Validator的帮助下出现NoClassDefFoundError问题 [英] NoClassDefFoundError problems with help of Apache Commons Validator

查看:114
本文介绍了在Apache Commons Validator的帮助下出现NoClassDefFoundError问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Apache Commons Validator时出错:

Getting an error if using Apache Commons Validator:

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

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

即使Apache Commons Validator / dependencies声明ORO.jar是可选的。

Even if, Apache Commons Validator /dependencies state that ORO.jar is optional.

推荐答案

将包含org / apache / oro / text / perl / Perl5Util类的jar放在服务器上,并修改服务器的类路径以包含jar文件。

Put the jar containing "org/apache/oro/text/perl/Perl5Util" class on the server and modify the classpath of the server to include the jar file.

这篇关于在Apache Commons Validator的帮助下出现NoClassDefFoundError问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆