facebook

An internal error occurred during: Generating Artificats

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • #254899 Reply

    rajapkp
    Member

    Hi I have installed MyEclipse 4.1 running on Eclipse 3.1

    I am trying out the Hibernate Project and I am getting the following error. I have the database explorer setup and able to connect. I am using Oralce Dialect.
    Pleae my hibernate config file. Please note that I am trying to use a local DTD because I am not sure if My eclipse can connect to hibernate.sourceforge.net/hibernate-configuration-3.0.dtd as it might require proxy settings.

    Also I see error
    ERROR Worker-66 org.hibernate.util.XMLHelper – Error parsing XML: C:\development\eclipse\workspace\Hib\src\hibernate.cfg.xml(4) External entity not found: “file://c:/temp/hibernate-configuration-3.0.dtd”.

    <?xml version=’1.0′ encoding=’UTF-8′?>
    <!DOCTYPE hibernate-configuration PUBLIC
    “-//Hibernate/Hibernate Configuration DTD 3.0//EN”
    “file://c:/temp/hibernate-configuration-3.0.dtd”>

    <!– Generated by MyEclipse Hibernate Tools. –>
    <hibernate-configuration>

    <session-factory>
    <property name=”connection.username”>checklist_app</property>
    <property name=”connection.url”>jdbc:oracle:thin:@oradev:1523:ELLIS</property>
    <property name=”dialect”>org.hibernate.dialect.OracleDialect</property>
    <property name=”myeclipse.connection.profile”>ellis</property>
    <property name=”connection.password”>checklist_app</property>
    <property name=”connection.driver_class”>oracle.jdbc.driver.OracleDriver</property>

    </session-factory>

    </hibernate-configuration>

    org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
    at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:378)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
    at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:71)
    at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$5.execute(GenerateArtifactsJob.java:405)
    at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
    at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:68)
    at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:400)
    at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:266)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    #254904

    Riyad Kalla
    Member

    Did you add hibernate capabilities to this project? When you ran through the wizard did you setup the dialect for the wizard correctly? The error looks fairly straight forward…

    #254911

    rajapkp
    Member

    This message has not been recovered.

    #254916

    Riyad Kalla
    Member

    This message has not been recovered.

    #254919

    rajapkp
    Member

    This message has not been recovered.

    #254928

    Riyad Kalla
    Member

    This message has not been recovered.

    #254939

    rajapkp
    Member

    This message has not been recovered.

    #254940

    rajapkp
    Member

    This message has not been recovered.

    #254941

    rajapkp
    Member

    This message has not been recovered.

    #254943

    Haris Peco
    Member

    This message has not been recovered.

    #254985

    rajapkp
    Member

    This message has not been recovered.

    #254990

    Brian Fernandes
    Moderator

    This message has not been recovered.

    #254997

    Haris Peco
    Member

    This message has not been recovered.

    #255009

    rajapkp
    Member

    This message has not been recovered.

    #255021

    rajapkp
    Member

    This message has not been recovered.

Viewing 15 posts - 1 through 15 (of 29 total)
Reply To: An internal error occurred during: Generating Artificats

You must be logged in to post in the forum log in