So... now that the hibernate validator is part of the resin appserver
classpath, there seems to be some sort of strange conflict with slf4j.
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
org.hibernate.validator.util.LoggerFactory.make(LoggerFactory.java:29)
org.hibernate.validator.util.Version.<clinit>(Version.java:30)
org.hibernate.validator.engine.ConfigurationImpl.<clinit>(ConfigurationImpl.java:52)
org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:43)
javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:269)
javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
org.subethamail.web.model.ErrorMapModel.<clinit>(ErrorMapModel.java:24)
org.subethamail.web.action.CreateList.initialize(CreateList.java:79)
org.tagonist.AbstractAction.execute(AbstractAction.java:50)
org.tagonist.ActionTag.doEndTag(ActionTag.java:282)
_jsp._list_0create_0submit__jsp._jspService(_list_0create_0submit__jsp.java:70)
_jsp._list_0create_0submit__jsp._jspService(_list_0create_0submit__jsp.java:29)
com.caucho.jsp.JavaPage.service(JavaPage.java:64)
I can make the issue go away by copying slf4j-api and slf4j-jdk14 into
resin/lib... but is there a better way to solve this?
Admittedly I haven't tried removing hibernate-vaildator from my war
yet. But that seems an odd solution.
Jeff
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest