java.lang.NoSuchMethodError

java.lang.NoSuchMethodError

Hi friends

             I m doing project web application using jsp . the probelm is when i trying delete the row from the jsp file then i got this error  " last week it was work fine" but today is not working why......................?????????

                      pls help....  i want to submit the project at collage

HTTP Status 500 -

type Exception report

message

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

exception org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError: hr.DataHandler.deleteEmployeeById(I)V org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause javax.servlet.ServletException: java.lang.NoSuchMethodError: hr.DataHandler.deleteEmployeeById(I)V org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779) org.apache.jsp.delete005factionjsp.jspService(delete005faction_jsp.java:85) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause java.lang.NoSuchMethodError: hr.DataHandler.deleteEmployeeById(I)V org.apache.jsp.delete005factionjsp.jspService(delete005faction_jsp.java:69) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs. Apache Tomcat/6.0.16

View Answers

November 13, 2010 at 4:04 PM

Hi Friend,

Please post your code so that we can help you.

Thanks









Related Tutorials/Questions & Answers:
java.lang.NoSuchMethodError
java.lang.NoSuchMethodError  Hi friends I m doing...: java.lang.NoSuchMethodError: hr.DataHandler.deleteEmployeeById(I)V... javax.servlet.ServletException: java.lang.NoSuchMethodError: hr.DataHandler.deleteEmployeeById(I
java.lang.NoSuchMethodError for registerColumnType
java.lang.NoSuchMethodError for registerColumnType   hi i am trying to build a small project which automatically creates the table schema.while building i am getting the error that registerColumnType method is not present though
Advertisements
java.lang.NoSuchMethodError: com.google.gdata.client.youtube.YouTubeService.setStrictValidation(Z)V
java.lang.NoSuchMethodError: com.google.gdata.client.youtube.YouTubeService.setStrictValidation(Z)V  Hi, While using youtube client in java I am getting follwing error: java.lang.NoSuchMethodError
java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/SharedCacheMode
java.lang.NoSuchMethodError... application following error is coming at startup time: java.lang.NoSuchMethodError... of init method failed; nested exception is java.lang.NoSuchMethodError
java - JSP-Servlet
java  exception in thread "main" java.lang.NoSuchMethodError:main i have compiled one servlet program it is compiled but run time i have the above error comes why this error shows
How to map MySQL View and Hibernate framework
How to map MySQL View and Hibernate framework  I found the following while trying to access MySQL View via Hibernate. HTTP Status 500 - java.lang.NoSuchMethodError: org.hibernate.hql.antlr.HqlBaseParser.recover(Lantlr
How to map MySQL View and Hibernate framework
How to map MySQL View and Hibernate framework  I found the following while trying to access MySQL View via Hibernate. HTTP Status 500 - java.lang.NoSuchMethodError: org.hibernate.hql.antlr.HqlBaseParser.recover(Lantlr
report generation
report generation  hi i found some source codes related to barchart and pie chart .when i try to run thise code its showing me the error as :- java.lang.NoSuchMethodError: org.jfree.text.TextBlock.setLineAlignment(Lorg/jfree/ui
JAVA
: java.lang.NoSuchMethodError: main Exception in thread "main" Java Result: 1 BUILD SUCCESSFUL (total time
closing thread for jdk1.5 or higher versions - Java Beginners
in thread "main" java.lang.NoSuchMethodError how can i destroy the thread and how
error in code - JDBC
error in code  hi friends i had one problem when i am running the application of jdbc code it is getting that Exception in thread "main" java.lang.NoSuchMethodError: main plz send me the solution for that error   
nosuchmethoderror
nosuchmethoderror  hello I am using netbeans IDE 6.5 for my program, there was error in my program, but when i run the program the following message was displayed : run: Exception in thread "main" java.lang.NoSuchMethodError
urgent-Exception in Tomcat - Java Beginners
javax.servlet.ServletException: java.lang.NoSuchMethodError... cause java.lang.NoSuchMethodError
java - Java Beginners
java  why this error shows Exception in thread "main" java.lang.noSuchMethoderror:main this error occur in my arrays program my array program is import java.lang.*; import java.io.*; class Arr { int arr[][]; int r,c
getting db in action class
getting db in action class  hi, Am usin struts in ma application... n i need to interact with the db .. so i used.. getDataSource(request) but it gives me an error.. java.lang.NoSuchMethodError: LoginAction.getDataSource(Ljavax
JFREE error again
" java.lang.NoSuchMethodError: org.jfree.ui.RectangleIntsets.<DDDD>V the above
Java Thread destroy
(); } } } Output : destroy() throws java.lang.NoSuchMethodError(null
to solve the error - Java Beginners
.. java.lang.NoSuchMethodError: main Exception in thread "main"  Hi friend... java.lang.NoSuchMethodError: main error occur and you add this main method
JAVA
JAVA  i got the following error when i am run the pprogram Exception in thread "main" java.lang.NoSuchMethodError: main i am setting the jar file in the classpath also C:\Program Files\Apache Software Foundation\Tomcat 6.0
Layout Manager
Layout Manager  for compile file "Javac SApplet.java" (working fine) but, java SApplet (not compile) error message: Exception in thread "main" java.lang.NoSuchMethodError:main Please follow the program import
problem with main - Java Beginners
a problem. when i compile it appears this message: java.lang.NoSuchMethodError: main
compilation error - Java Beginners
compilation error  sir what is the error inthis code after executing the below code i got java.lang.NoSuchMethodError: main Exception in thread "main" package org.array; import java.io.*; public class Employee
Servlets
Servlets  when i am compiling the following servlet program it compiles the successfully.but when i try to run the program it gives the following error. Exception in thread "main" java.lang.NoSuchMethodError: main Here
Error - Java Beginners
,it displays "Exception in thread "main" java.lang.NoSuchMethodError: main". i...) { //Defining variables q is quotient, r is remainder int len, q...: q=num/10000000; r=num%10000000
Serializable Exception
"main" java.lang.NoSuchMethodError: main How to Overcome Serialization Exception

Ads