Share on Google+Share on Google+

shashidhar singhal
java.lang.NoSuchMethodError for registerColumnType
2 Answer(s)      4 years and 3 months ago
Posted in : Hibernate

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!!

Ads

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... org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoSuchMethodError...: java.lang.NoSuchMethodError: hr.DataHandler.deleteEmployeeById(I)V
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
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
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
JAVA
: java.lang.NoSuchMethodError: main Exception in thread "main" Java Result: 1 BUILD
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
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   
closing thread for jdk1.5 or higher versions - Java Beginners
in thread "main" java.lang.NoSuchMethodError how can i destroy the thread and how
urgent-Exception in Tomcat - Java Beginners
javax.servlet.ServletException: java.lang.NoSuchMethodError... cause java.lang.NoSuchMethodError
JFREE error again
" java.lang.NoSuchMethodError: org.jfree.ui.RectangleIntsets.<DDDD>V the above
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
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
Java Thread destroy
: 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
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
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
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
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
problem with main - Java Beginners
a problem. when i compile it appears this message: java.lang.NoSuchMethodError: main
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
:\saurabh>java Student Exception in thread "main" java.lang.NoSuchMethodError
Tutorials   
Java Spring Hibernate Struts Training java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based! org.hibernate.validator cannot be resolved error java.lang.ClassNotFoundException: org.hibernate.cache.TimestampsRegion java.lang.ClassNotFoundException: org.hibernate.cache.TimestampsRegion property hibernate.cache.region.factory_class is not given Hibernate example step by step in Eclipse with MySQL How to make Struts Hibernate and Spring Based Login/Registration Application? What is the use of Hibernate Native SQL? What is the use of Hibernate is used? How to integrate Struts and Hibernate in an application? How to create the program in Java for getting the forgotten Password Form? How to write create JPA Many-to-Many Relationship in Java? What is the DAO Layer in any application? What is Spring Struts Hibernate DAO Layer? How to write Example code for CRUD application in hibernate annotation? Where to update the Hibernate tools? Query conversion convert into hql how to convert sql into hql package org.hibernate.util does not exist C3P0 with Hibernate What do you understand by JPA? Hibernate Query Checker Jpa many to many relationship What do you understand by Hibernate in Java? What are criteria Queries in Hibernate? How to use Associations and Joins in Hibernate? Hibernate 4 Example with Eclipse How to learn Hibernate? What is Hibernate Framework? hibernate faq 15/03/14 hibernate 15/03/2014 Hibernate Criteria Wildcard how to add mulitiple projections this is a hibernate question this is a hibernate question this is a hibernate question how to writw connection pool coding Hibernate 4.3 and JPA 2.1 support How to create Hibernate session factory name? Can you provide me Hibernate configuration tutorial? I want to build sessionfactory in hibernate 4. Need help. I want to learn Hibernate tutorial quickly How to create sessionfactory in Hibernate 4.1.1? How to create sessionfactory in Hibernate 4.1? Hibernate 4.3.0.Final get session How to learn hibernate in 24 hours? hibernate 4.3.0 I want to know how can I create sessionfactory in hibernate 4 (latest version) standard serviceregistrybuilder example

Ads

 
Advertisement null

Ads