This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.

Hugh Acland

Greenhorn
+ Follow
since Jul 29, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Hugh Acland

Sachin Pachari wrote:posting the error stack strace might help a little bit.



Thanks here it is:

Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.AmazonS3Client
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
org.apache.jsp.index_jsp._jspService(index_jsp.java:143)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.AmazonS3Client
org.apache.jsp.index_jsp._jspService(index_jsp.java:111)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
12 years ago
Hello -

I'm on Mac OS X, using Tomcat 7. I can see the JAR libraries in the {webapp}/WEB-INF/lib directory fine

However I am still getting the cursed java.lang.NoClassDefFoundError

Even if I then manual delete the .jar file the error remains with same stacktrace so to my mind it appears the classloaders are not kicking in correctly?

Can anyone please point me in the correct direction.

Many thanks
12 years ago
I am seriously hacked off with the inability of people to document properly and not leave off the most important facts. I am trying to get two Apache products (Tomcat and web server) to talk and be nice together on Win2003. I know and understand the process totally but I will bet anyone my pension that they can not find the correct .dll binary on the official Apache/Jakarta site.

http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.23/

does NOT give a .dll download only .so files. Never mind the fact that one would have thought that there would be a webserver AND jsp container rolled into one and pre-configured by now: click to download and install for your OS. No wonder people are shunning JSP technology in favour of easier architectures. My clients do not pay me to set up the architecture, they pay me to code and produce working solutions to their problems. The amount of time I have spent on getting BASIC architecture to work on JSP/J2EE is a joke. I could have completed the project in PHP and be sitting on the beach by now.

Can someone PLEASE TELL ME WHERE TO GET THIS **&^^%$ DLL FILE FROM!!
Much appreciated,
H.A.
17 years ago