NoSuchAdjunctException while using "pluginFirstClassLoader" attribute

183 views
Skip to first unread message

liorha

unread,
Mar 3, 2015, 10:04:27 AM3/3/15
to jenkin...@googlegroups.com
Hello,

After a lot of classpath problems with other plugin and with the Jenkins
core, I`m trying to use the "pluginFirstClassLoader" attribute from the
"maven-hpi-plugin" for more isolation. Indeed the classpath issues were
gone, but now I have a problem with the web sources, I`m getting the
following error:

WARNING: No such adjunct found: lib.jfrog.repos.repos
org.kohsuke.stapler.framework.adjunct.NoSuchAdjunctException: Neither
lib.jfrog.repos.repos.css, .js, .html, nor .jelly were found
at
org.kohsuke.stapler.framework.adjunct.Adjunct.<init>(Adjunct.java:125)
at
org.kohsuke.stapler.framework.adjunct.AdjunctManager.get(AdjunctManager.java:151)
at
org.kohsuke.stapler.framework.adjunct.AdjunctsInPage.findNeeded(AdjunctsInPage.java:161)
at
org.kohsuke.stapler.framework.adjunct.AdjunctsInPage.generate(AdjunctsInPage.java:113)
at org.kohsuke.stapler.jelly.AdjunctTag.doTag(AdjunctTag.java:83)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at
org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)


From one of our jelly page, we have a reference to javascript file:
*<st:adjunct includes="lib.jfrog.repos.repos"/>*

Any idea anyone?



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/NoSuchAdjunctException-while-using-pluginFirstClassLoader-attribute-tp4741337.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

Jesse Glick

unread,
Mar 3, 2015, 11:30:58 AM3/3/15
to Jenkins Dev
On Tue, Mar 3, 2015 at 9:56 AM, liorha <lio...@jfrog.com> wrote:
> org.kohsuke.stapler.framework.adjunct.NoSuchAdjunctException: Neither lib.jfrog.repos.repos.css, .js, .html, nor .jelly were found
> at org.kohsuke.stapler.framework.adjunct.Adjunct.<init>(Adjunct.java:125)
>
> Any idea anyone?

I guess you need to set a breakpoint here.
Reply all
Reply to author
Forward
0 new messages