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 i have added the jar file containing org.hibernate.dialect.* and have defined my required dialect in the hibernate.cfg.xml file as well. i have done lots of google but not a clue. any help will be appreciated!!

View Answers

December 28, 2012 at 12:05 PM

Hi,

Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

So, you should try to resolve the hibernate version. You may try latest version of Hibernate.

Thanks


December 28, 2012 at 12:14 PM

giving more details: this method "registerColumnType" is present in org.hibernate.dialect.Oracle9iDialect class and i have added the jar file for that already. i have also specified the dialect i am going to use in the hibernate.cfg.xml file. but still it thrwoing this error!!









Related Tutorials/Questions & Answers:
java.lang.NoSuchMethodError for registerColumnType
java.lang.NoSuchMethodError for registerColumnType   hi i am trying... building i am getting the error that registerColumnType method is not present though.... Thanks   giving more details: this method "registerColumnType
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
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