I am using a project which have declared own ant result formatted.When i build the framework code it builds fine.But when i try to generate the report using that formatter i get java.lang.NoClassDefFoundError error and build fails
xyz\build.xml:391: java.lang.NoClassDefFoundError: org/apache/log4j/
Logger
I have the log4j jar in the lib directory when am building the project.Do i need to include some and runtime environment?
If yes how?What else can be the problem?
您必须将jar文件显式添加到运行时类路径中(就像处理类文件目录一样)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.