[forge-users] hibernate-tools plugin

Max Schwaab max.schwaab at akquinet.de
Tue Nov 29 12:00:55 EST 2011

Hey there,

I'm new to forge and want to try the database reverse engineering.
When I try to use the hibernate-tools plugin, I get log4J errors like:

log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not 
assignable to
  a "org.apache.log4j.spi.Configurator" variable.
log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
log4j:ERROR [ModuleClassLoader for Module "org.jboss.forge:main" from 
local modu
le loader @510e39 (roots: 
\plugins)] whereas object of type
log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by 
der for Module 
0.0-SNAPSHOT-d4f52737-8c8e-47d5-9113-97edf57516c4" from local module 
loader @510
e39 (roots: 
log4j:ERROR Could not instantiate configurator 
log4j:WARN No appenders could be found for logger (org.jboss.weld.Version).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more in

When I try to use the generate-entities command I get errors too.
Sometimes a slf4J error like:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
further detail
***ERROR*** [generate-entities] org/slf4j/impl/StaticLoggerBinder

And sometimes a JDBCMetaDataConfguration error like:

***ERROR*** [generate-entities] Could not initialize class 

I looked around on the internet and found a remark from Jethro with the 
same problem.
I'm using the latest beta3 version of forge and the 
hibernate-tools-plugin from github (guess its the latest version).

Is there some work in progress or did I something wrong with the 
configuration or something?

Would be nice to get this feature working..

Best regards


More information about the forge-users mailing list