We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

java.lang.NoClassDefFoundError: org/apache/tools/ant/Task

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error:

FileUpload.jsp: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
FileUpload.jsp: Caused by java.lang.NoClassDefFoundError: org.apache.tools.ant.Task
...12 more
Could not find the main class: org.apache.jasper.jspC. Program will exit.

I tried google this error and was not able to find solution.

2
Contributors
1
Reply
2 Weeks
Discussion Span
10 Months Ago
Last Updated
2
Views
mydreamgirl
Junior Poster in Training
77 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Mybe Library problem

firdaus_lazim
Newbie Poster
4 posts since Jul 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0571 seconds using 2.77MB