kolorobot / spring-mvc-quickstart-archetype

The project is a Maven archetype for Spring MVC web application.
http://blog.codeleak.pl
1.05k stars 478 forks source link

sl4j dependencies problems #86

Closed hikenace closed 8 years ago

hikenace commented 9 years ago

i'm trying to generate some class using hibernate and i can't because when i run the generator it says java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:159) at org.hibernate.cfg.reveng.OverrideRepository.addFile(OverrideRepository.java:113) at org.jboss.tools.hibernate.proxy.OverrideRepositoryProxy.addFile(OverrideRepositoryProxy.java:20) at org.hibernate.eclipse.console.common.ConsoleExtension$2.execute(ConsoleExtension.java:283) at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63) at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108) at org.hibernate.eclipse.console.common.ConsoleExtension.buildConfiguration(ConsoleExtension.java:266) at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:174) at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110) at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

when i check in the dependency hierarchy there are a lot of conflit and i don't know how to fix them save me please :)

kolorobot commented 9 years ago

How is this related to the archetype? I assume you use Eclipse to generate some classes, but I am not sure if this has anything to do with the project.