Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: hibernate reverse engineering error please help me

  1. #1
    Junior Member
    Join Date
    Oct 2024
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default hibernate reverse engineering error please help me

    hi i want to do reverse engineering but i am getting error .i hava created cfg.xmk and reveng.xml file in eclipse but i am getting error in eclipse with jboss tools java.lang.RuntimeException: Exception while creating new instance of class 'org.hibernate.tool.hbm2x.DAOExporter'
    Exception while creating new instance of class 'org.hibernate.tool.hbm2x.DAOExporter'
    java.lang.RuntimeException: Exception while creating new instance of class 'org.hibernate.tool.hbm2x.DAOExporter'
    Exception while creating new instance of class 'org.hibernate.tool.hbm2x.DAOExporter'
    java.lang.reflect.InvocationTargetException: <no message>
    java.lang.reflect.InvocationTargetException
    java.lang.NoSuchMethodError: 'void org.hibernate.tool.hbm2x.DAOExporter.setTemplateNa me(java.lang.String)'
    'void org.hibernate.tool.hbm2x.DAOExporter.setTemplateNa me(java.lang.String)'<?xml version="1.0" encoding="UTF-8"?>

    <hibernate-configuration>
    <session-factory>
    <property name="hibernate.connection.driver_class">org.postg resql.Driver</property>
    <property name="hibernate.connection.password">violet415</property>
    <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/destiny</property>
    <property name="hibernate.connection.username">postgres</property>
    <property name="hibernate.dialect">org.hibernate.dialect.Pos tgreSQLDialect</property>
    </session-factory>
    </hibernate-configuration>

    <hibernate-reverse-engineering>
    <table-filter match-schema="public" match-name="students"/>
    <table-filter match-schema="public" match-name="classes"/>
    </hibernate-revers

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: hibernate reverse engineering error please help me

    I don't know if anyone on this forum knows hibernate.

    Try this forum: https://www.coderanch.com/f/78/ORM
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Chaos Engineering – Stackoverflow Error
    By Ram Lakshmanan in forum Java Networking Tutorials
    Replies: 0
    Last Post: May 16th, 2021, 11:03 PM
  2. Reverse Engineering An EXE made with Java
    By BigBoi2010 in forum Object Oriented Programming
    Replies: 0
    Last Post: June 11th, 2012, 04:02 PM
  3. Issue with reverse engineering what format this guy expects. Out of ideas
    By Udustar in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 22nd, 2011, 06:40 AM
  4. Replies: 0
    Last Post: June 20th, 2011, 07:56 AM
  5. hibernate-struts error
    By khaa_khay in forum Web Frameworks
    Replies: 1
    Last Post: July 18th, 2010, 10:04 PM

Tags for this Thread