Yep, I see this too. I&#39;ll take a look ASAP.<br><br><div class="gmail_quote">On Fri, Dec 2, 2011 at 9:45 AM, ansar basha <span dir="ltr">&lt;<a href="mailto:ansarbasha.uk@googlemail.com">ansarbasha.uk@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div>I&#39;m too getting different error.</div><div><br></div><div><div><div><font face="&#39;times new roman&#39;, serif">$ generate-entities --schema  asdf --driver com.mysql.jdbc.Driver --user asdf --password asdf --dialect org.hibernate.dialect.MySQLDialect --url jdbc:mysql://localhost:3306/asdf</font></div>

<div><font face="&#39;times new roman&#39;, serif"> ? In which package you&#39;d like to create this @Entity, or enter for default: com.test.entities</font></div><div><br></div><div> </div><div><b> ***ERROR*** [generate-entities] org/slf4j/impl/StaticLoggerBinder</b></div>

<div> </div><div><font face="&#39;times new roman&#39;, serif"> </font></div><div><font face="&#39;times new roman&#39;, serif"> once i set &quot;set verbose true&quot;, i get following error</font></div><div class="im">

<div> </div><div><b> ***ERROR*** [generate-entities] Could not initialize class org.hibernate.cfg.JDBCMetaDataConfiguration</b></div></div></div><div><br></div><div>thanks</div><span class="HOEnZb"><font color="#888888"><div>
ansar</div><br></font></span><div class="gmail_quote"><div><div class="h5">On Fri, Dec 2, 2011 at 9:59 AM, Max Schwaab <span dir="ltr">&lt;<a href="mailto:max.schwaab@akquinet.de" target="_blank">max.schwaab@akquinet.de</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <pre>Hey there,

I&#39;m using forge 1.0.0.Beta3 as I wrote in my mail.
The environment ist Windows 7 32 Bit with Java 1.6.0_29

Setps to reproduce:

* Download Beta3 Source and build.
* Configure environment variables and stuff.
* Setup FORGE_OPTS for Eclipse debugging.

* Download plugin sources, build plugin and install from local build OR install via forge console

* I created a lib folder in the forge home and placed the mysql-connector-java-5.1.18-bin.jar in it.

* Create a local MYSQL Database with a simple table with XAMPP

* Exit forge and re-enter forge: log4j errors are thrown.

* Create a new project and setup persistance with Hibernate and MySQL
* Try to reverse engineer the database via generate-entities --url jdbc:mysql:localhost:3306/mytest --dr
iver org.gjt.mm.mysql.Driver --dialect MYSQL

Let me know if you need some more information..

Best regards

Max

<i>&gt; Hi Max,
</i><i>&gt; 
</i><i>&gt; </i><i>Can you please post your config, forge version as well as the steps needed to reproduce your problem?
</i><i>&gt; </i><i>
</i><i>&gt; </i><i>Cheers,
</i><i>&gt; </i><i>Koen</i>
<i>&gt;</i>
<i>&gt; </i>Op 29-nov.-2011, om 18:00 heeft Max Schwaab het volgende geschreven:
<i>&gt; </i>
&gt;<i> Hey there,
</i>&gt;<i> 
</i>&gt;<i> I&#39;m new to forge and want to try the database reverse engineering.
</i>&gt;<i> When I try to use the hibernate-tools plugin, I get log4J errors like:
</i>&gt;<i> 
</i>&gt;<i> log4j:ERROR A &quot;org.apache.log4j.xml.DOMConfigurator&quot; object is not 
</i>&gt;<i> assignable to
</i>&gt;<i>  a &quot;org.apache.log4j.spi.Configurator&quot; variable.
</i>&gt;<i> log4j:ERROR The class &quot;org.apache.log4j.spi.Configurator&quot; was loaded by
</i>&gt;<i> log4j:ERROR [ModuleClassLoader for Module &quot;org.jboss.forge:main&quot; from 
</i>&gt;<i> local modu
</i>&gt;<i> le loader @510e39 (roots: 
</i>&gt;<i> C:\forge\forge-1.0.0.Beta3\modules,C:\Users\Max\.forge
</i>&gt;<i> \plugins)] whereas object of type
</i>&gt;<i> log4j:ERROR &quot;org.apache.log4j.xml.DOMConfigurator&quot; was loaded by 
</i>&gt;<i> [ModuleClassLoa
</i>&gt;<i> der for Module 
</i>&gt;<i> &quot;org.jboss.hibernate.forge.hibernate-tools-plugin.dependencies:1.
</i>&gt;<i> 0.0-SNAPSHOT-d4f52737-8c8e-47d5-9113-97edf57516c4&quot; from local module 
</i>&gt;<i> loader @510
</i>&gt;<i> e39 (roots: 
</i>&gt;<i> C:\forge\forge-1.0.0.Beta3\modules,C:\Users\Max\.forge\plugins)].
</i>&gt;<i> log4j:ERROR Could not instantiate configurator 
</i>&gt;<i> [org.apache.log4j.xml.DOMConfigur
</i>&gt;<i> ator].
</i>&gt;<i> log4j:WARN No appenders could be found for logger (org.jboss.weld.Version).
</i>&gt;<i> log4j:WARN Please initialize the log4j system properly.
</i>&gt;<i> log4j:WARN See <a href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank">http://logging.apache.org/log4j/1.2/faq.html#noconfig</a> for 
</i>&gt;<i> more in
</i>&gt;<i> fo.
</i>&gt;<i> 
</i>&gt;<i> When I try to use the generate-entities command I get errors too.
</i>&gt;<i> Sometimes a slf4J error like:
</i>&gt;<i> 
</i>&gt;<i> SLF4J: Failed to load class &quot;org.slf4j.impl.StaticLoggerBinder&quot;.
</i>&gt;<i> SLF4J: See <a href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for 
</i>&gt;<i> further detail
</i>&gt;<i> s.
</i>&gt;<i> ***ERROR*** [generate-entities] org/slf4j/impl/StaticLoggerBinder
</i>&gt;<i> 
</i>&gt;<i> And sometimes a JDBCMetaDataConfguration error like:
</i>&gt;<i> 
</i>&gt;<i> ***ERROR*** [generate-entities] Could not initialize class 
</i>&gt;<i> org.hibernate.cfg.JDB
</i>&gt;<i> CMetaDataConfiguration
</i>&gt;<i> 
</i>&gt;<i> I looked around on the internet and found a remark from Jethro with the 
</i>&gt;<i> same problem.
</i>&gt;<i> (<a href="http://lists.jboss.org/pipermail/forge-users/2011-October/000079.html" target="_blank">http://lists.jboss.org/pipermail/forge-users/2011-October/000079.html</a>)
</i>&gt;<i> I&#39;m using the latest beta3 version of forge and the 
</i>&gt;<i> hibernate-tools-plugin from github (guess its the latest version).
</i>&gt;<i> 
</i>&gt;<i> Is there some work in progress or did I something wrong with the 
</i>&gt;<i> configuration or something?
</i>&gt;<i> 
</i>&gt;<i> Would be nice to get this feature working..
</i>&gt;<i> 
</i>&gt;<i> Best regards
</i>&gt;<i> 
</i>&gt;<i> Max</i></pre>
  </div>

<br></div></div><div class="im">_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>