'Hibernate Reverse Engineering Wizard issue - NetBeans is not showing Configuration File

Netbeans does not show the hibernate.cfg.xml configuration file in the Configuration File drop-down menu of the New Hibernate Reverse Engineering Wizard window, as shown in this screen shot:

Hibernate Reverse Engineering Wizard Screenshot

However, the connection configuration for the database works fine, as shown in this screenshot:

DB connection OK

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
        <property name="hibernate.connection.driver_class">oracle.jdbc.OracleDriver</property>
        <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
        <property name="hibernate.connection.username">system</property>
        <property name="hibernate.connection.password">oracle</property>
        <property name="hibernate.default_catalog"/>
    </session-factory>
</hibernate-configuration>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source