Skip to main content

org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro class not found

  3 posts   Feedicon  
Replies: 2 - Last Post: February 04, 2012 10:55
by: dma_k
showing 1 - 3 of 3
Posted: December 15, 2011 15:26 by dma_k
Dear all,

When I start Hudson (2.2.0) I am generated few MB logs of stack traces like following:

java.lang.ClassNotFoundException: org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro not found - unable to determine UR
        at org.aspectj.apache.bcel.util.ClassLoaderRepository.loadClass(
        at org.aspectj.weaver.bcel.BcelWorld.lookupJavaClass(
        at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate(
        at org.aspectj.weaver.ltw.LTWWorld.resolveDelegate(
        at org.aspectj.weaver.World.resolveToReferenceType(
        at org.aspectj.weaver.World.resolve(
        at org.sonatype.guice.bean.reflect.URLClassSpace.loadClass(
        at org.hudsonci.inject.internal.extension.SezPozExtensionModule.configure(
        at org.hudsonci.inject.internal.extension.ExtensionModule.configure(

I have found the compile-time dependency on this class in the following plugin:

I wonder, if that is the real root of the problem and how to solve it?

Looks to be similar to my issue: this, that and that.
Posted: February 03, 2012 17:40 by Winston Prakash
Hi dma_k,

Token Macro plugin is Jenkins specific. Some plugins are using it. But these Plugins specify Token Macro Plugin as Optional, so Hudson ignores it.

Even though it is optional, aspectj.weaver logs the info. In 2.2.0 we fixed this (

Not sure how you are seeing it. Could be you are using plugins that doesn't mark Token Macro Plugin as Optional?
Posted: February 04, 2012 10:55 by dma_k
Hi Winston,

I have "grepped" complete Hudson installation directory and have found no entries of "DataBoundTokenMacro" except the one in plugins\analysis mentioned above. All plugins were up-to-date, but I haven't checked since mid December.

How can I check more reliably if there any other dependencies?

Could it happen that the fix didn't get to 2.2.0? If 2.2.x is about to be released, I can re-test again with new release.
Replies: 2 - Last Post: February 04, 2012 10:55
by: dma_k
Please Confirm