高手请来看看“引用java类出现的问题”(在线),立即结贴!
写了一个关于加解密的java类,使用java本身自带main方法运行完全正常,但是当我在jsp引用该java类时却出现如下问题:苦苦思索,还是无法解决,请各位帮帮忙!!
使用环境:jb7+weblogic6+sqlserver2000
<2003-6-2 下午03时04分36秒> <Error> <HTTP> <101018> <[ServletContext(id=6218163,name=testapp,context-path=/testapp)] Servlet failed with ServletException
javax.servlet.UnavailableException: ServletContext(id=6218163,name=testapp,context-path=/testapp): The server myserver is temporarilly suspended
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3034)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>
<2003-6-2 下午03时04分36秒> <Notice> <WebLogicServer> <000365> <Server state changed to RUNNING>
<2003-6-2 下午03时04分36秒> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>
<2003-6-2 下午03时04分39秒> <Error> <HTTP> <101017> <[ServletContext(id=6218163,name=testapp,context-path=/testapp)] Root cause of ServletException
java.lang.NoClassDefFoundError: javax/crypto/NoSuchPaddingException
at jsp_servlet.__testdesjsp._jspService(__testdesjsp.java:110)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>
请各位赐教,不胜感激!!