Hi all,

 

I was trying to test samples following the instructions given by
https://cwiki.apache.org/confluence/display/SHINDIG/Connect+mysql+database+t
o+shindig

However it's not smooth, when I was running Jetty, guice injection failed
due to "NoSuchMethodException", I found that it's because Hibernate
(introduced by samples) depends on ehcache 1.2.3 which conflicts with
ehcache-core-2.2.0.jar (used by shindig).

I've tried to add "net.sf.ehcache: ehcache" into "exclusions", however
"ehcache-1.2.3.jar" is still going into the .war file every time I rebuild
the project.

I can work around it by manually deleting ehcache-1.2.3.jar every time, but
it's really boring.

I am not proficient in Maven, is there anyone here can help me with this
problem?

 

Regards,

Rocks

Reply via email to