Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.ExceptionInInitializerError - while using a third party tool

rameshjspnetFeb 17 2009 — edited Feb 20 2009
Hi All,

I am trying to include truezip into my application. but I get the following stack trace.
When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
	org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)

root cause 

java.lang.ExceptionInInitializerError
	de.schlichtherle.io.File.init(File.java:818)
	de.schlichtherle.io.File.(File.java:471)
	de.schlichtherle.io.File.(File.java:452)
	org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
If I refresh the jsp page it shows the foloowing error
type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
	org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
root cause 

java.lang.NoClassDefFoundError
	de.schlichtherle.io.File.init(File.java:818)
	de.schlichtherle.io.File.(File.java:471)
	de.schlichtherle.io.File.(File.java:452)
	org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:860)

note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.


--------------------------------------------------------------------------------
Can anyone help me on this please

Thanks,
R.Ramesh.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2009
Added on Feb 17 2009
7 comments
298 views