tag:blogger.com,1999:blog-6245476510271728435.post6112936457752256261..comments2023-09-05T14:55:50.003+02:00Comments on Padcom's blog: Grails, Camel and adding routes at runtimeMatthias Hryniszakhttp://www.blogger.com/profile/11432592442831476478noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6245476510271728435.post-65218987457037781082011-05-03T05:09:59.174+02:002011-05-03T05:09:59.174+02:00We're using a lot of plugins (by way of BuildC...We're using a lot of plugins (by way of BuildConfig.groovy)...the issue of transitive dependencies was the culprit. A colleague excluded 'stax-api' and 'commons-logging-api' to resolve the problem for now (plugin added via BuildConfig.groovy). Thanks again for the nice plugin.<br /><br /><i><br />plugins {<br /> runtime (':routing:1.1.1') {<br /> excludes "stax-api", "commons-logging-api"<br /> }<br />}<br /></i>steffan.eckhardthttps://www.blogger.com/profile/03226355300658525547noreply@blogger.comtag:blogger.com,1999:blog-6245476510271728435.post-52781130867949746702011-05-02T08:14:13.155+02:002011-05-02T08:14:13.155+02:00Take a look at the plugin sources, specifically at...Take a look at the plugin sources, specifically at the file "dependencies.groovy". There you'll see all the dependencies (including what's excluded).<br /><br />Your issue sounds very exotic at first glance. Could you reproduce it in an example so that I can look at it?Matthias Hryniszakhttps://www.blogger.com/profile/11432592442831476478noreply@blogger.comtag:blogger.com,1999:blog-6245476510271728435.post-22259124302650704832011-05-01T22:18:15.742+02:002011-05-01T22:18:15.742+02:00Thanks, great post. Worked in a new grails project...Thanks, great post. Worked in a new grails project but not in existing project due, seemingly, to class/jar conflicts? Are there any dependency excludes I can add to BuildConfig.groovy for the following conflict?<br /><br /><i><br />[main] ERROR context.GrailsContextLoader - Error executing bootstraps: java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/groovy/grails/cli/support/GrailsRootLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type<br />org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/groovy/grails/cli/support/GrailsRootLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type<br /></i>steffan.eckhardthttps://www.blogger.com/profile/03226355300658525547noreply@blogger.comtag:blogger.com,1999:blog-6245476510271728435.post-90220426411881193292011-02-24T07:32:00.919+01:002011-02-24T07:32:00.919+01:00great! it worked and helped me get started on came...great! it worked and helped me get started on camel!Andhuvanhttps://www.blogger.com/profile/18374305253579317703noreply@blogger.comtag:blogger.com,1999:blog-6245476510271728435.post-33975572104217309332011-01-08T10:54:15.804+01:002011-01-08T10:54:15.804+01:00LOL, I didn't even realize... That's the 1...LOL, I didn't even realize... That's the 100th post on my blog :)Matthias Hryniszakhttps://www.blogger.com/profile/11432592442831476478noreply@blogger.com