• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue with Tomcat config

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have tried the Tomcat boards with no luck. I have installed JForum on Tomcat, but when I go to the install page I get...

exception

javax.servlet.ServletException: org.apache.tools.ant.Project
org.apache.jasper.servlet.JspServlet.service(jaspe r5-compiler-5.5.15.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.15.jar.so)

root cause

java.lang.NoClassDefFoundError: org.apache.tools.ant.Project
java.lang.Class.initializeClass(libgcj.so.7)
org.apache.jasper.compiler.AntCompiler.getProject( jasper5-compiler-5.5.15.jar.so)
org.apache.jasper.compiler.AntCompiler.generateCla ss(jasper5-compiler-5.5.15.jar.so)
org.apache.jasper.compiler.Compiler.compile(jasper 5-compiler-5.5.15.jar.so)
org.apache.jasper.compiler.Compiler.compile(jasper 5-compiler-5.5.15.jar.so)
.
.
.
Anyone know how to correct this problem?
[originally posted on jforum.net by jacobs102]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
These errors are related to ant. AFAIK, jForum doesn't require this.

The error messages seem to indicate either a Tomcat compile or deployment error.

Can you run any JSP files on this installation? E.g. a test.jsp that only contains:

<%= "Hello world" %>

One thing to try is to get a copy of the latest ant library jar (ant.apache.org) and put it in the commons/lib directory. This might satisfy whatever is looking for the ant Project class.
[originally posted on jforum.net by monroe]
 
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic