It's possible that the shade include is too liberal, and things are getting overlapped just from that, but...<br><br>The first thing I would try is this:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
cd plugin-hibernate-tools/ <br><b>mvn dependency:tree</b><br></blockquote><div><br>That will tell maven to dump out a list of all dependencies and what included them. If you see multiple freemarker impls, then we can go from there. If not, it's possible the shade config is messing things up, in which case we will need to work on an alternative bundling strategy. Forge does not bundle Freemarker, so that shouldn't be the issue.<br>
<br>~Lincoln<br><br></div><br>On Mon, Apr 25, 2011 at 11:45 AM, brian <span dir="ltr"><<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>></span> wrote:<br><div> </div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
dude i'm stuck. i don't know shade, and i'm getting what looks like<br>
classloader issues with freemarker... looks like my plugin is getting<br>
freemarker 2.3.8 included from somewhere... and i've added (per<br>
freemarker specs) 2.3.16 to the hibernate-tools plugin pom. both build<br>
clean when built separately but sourcing the hib-tools plugin gives what<br>
looks like a classloader problem:<br><br>
***SUCCESS*** Build successful.<br>
***INFO*** Installing plugin artifact.<br>
Wrote /home/brianx/.forge/plugins/</blockquote>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">org.jboss.hibernate.forge<br>
$hibernate-tools-plugin$1$1.0.0-SNAPSHOT.jar<br>
***SUCCESS*** Installed from [brianxlong-plugin-hibernate-tools-2f38225]<br>
successfully.<br>
Exception in thread "Thread-32"<br>
com.google.common.collect.ComputationException:<br>
java.lang.IllegalAccessError: tried to access class<br>
freemarker.ext.beans.MethodMap from class freemarker.ext.beans.MethodMap<br>
$ClassString<br>
<br>
...the build from my new plugin says that it is excluding freemarker<br>
2.3.8 (means included somewhere else - i think in the base forge<br>
build)?<br>
<br>
so i need to rebuild forge?</blockquote><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>"Keep it Simple"<br>