0

我今天刚刚在我们的 Jenkins 实例上安装了“CloudBees 免费和开源 Jenkins 插件”。当我尝试使用“CloudBees 文件夹插件”时,在创建文件夹后立即在“配置”页面中显示内部服务器错误 500。

我的 Jenkins 上似乎缺少“com/cloudbees/plugins/credentials/domains/DomainCredentials”类,我不知道这里发生了什么。

詹金斯版本:詹金斯版本。1.516.JENKINS-14362-jzlib

问候,
帕克森杨

状态码:500

例外:org.apache.commons.jelly.JellyTagException:jar:file:/D:/CI/Jenkins/war/WEB-INF/lib/jenkins-core-1.516.JENKINS-14362-jzlib.jar!/lib/form /block.jelly:32:22: com/cloudbees/plugins/credentials/domains/DomainCredentials Stacktrace: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/D:/CI/Jenkins/ war/WEB-INF/lib/jenkins-core-1.516.JENKINS-14362-jzlib.jar!/lib/form/block.jelly:32:22: com/cloudbees/plugins/credentials/domains/DomainCredentials at org.kohsuke .stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) 在 org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) 在 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)在 org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) 在 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 在 org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) 在 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) 在 org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) 在 org .kohsuke.stapler.Stapler.service(Stapler.java:214) 在 winstone.ServletConfiguration.execute(ServletConfiguration.java:248) 在 winstone.RequestDispatcher 的 javax.servlet.http.HttpServlet.service(HttpServlet.java:45)。 forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter. java:208) 在 net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181) 在 net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) 在 org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) 在 winstone.FilterConfiguration.execute(FilterConfiguration .java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) 在 hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) 在hudson.security.ChainedServletFilter$1。doFilter(ChainedServletFilter.java:87) 在 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) 在 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 在 org.acegisecurity.providers.anonymous。 AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 在 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) 在 org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) 在 hudson.security。 ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui .basicauth。BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) at hudson.security.ChainedServletFilter$1.doFilter (ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter .java:87) 在 hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) 在 hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) 在 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) 在 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone。 RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 在 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366 ) 在 winstone.RequestDispatcher.forward(RequestDispatcher.java:331) 在 winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) 在 winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) 在 java.util.concurrent.Executors$RunnableAdapter .call(Executors.java:441) 在 java。util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java。 util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 在 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 在 java.lang.Thread.run(Thread.java:662)引起:org.apache.commons.jelly.JellyTagException: jar:file:/D:/CI/Jenkins/war/WEB-INF/lib/jenkins-core-1.516.JENKINS-14362-jzlib.jar!/lib/ form/block.jelly:32:22: com/cloudbees/plugins/credentials/domains/DomainCredentials at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at org.apache.commons.jelly .impl.TagScript.run(TagScript.java:289) 在 org.kohsuke.stapler.jelly。org.kohsuke.stapler.jelly.ReallyStaticTagLibrary 的ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)$1.run(ReallyStaticTagLibrary.java:99) 的org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java: 95) 在 org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) 在 org.kohsuke 的 org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)。 org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) 在 org.apache.commons.jelly.impl.TagScript 上的订书机.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) .run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)在 org.apache.commons.jelly.tags.define.InvokeBodyTag。doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org .apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly .impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) 在 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag .java:38) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org. apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) 在 org. kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.tags .core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) 在 org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) 在 org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java: 146) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.kohsuke.stapler .jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 在 org.apache.commons.jelly.tags.define.InvokeBodyTag。doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 上的 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 上的 org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)。 jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(否则Tag.java:41) 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.TagSupport.invokeBody(TagSupport.java:161) 在 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache .commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) 在 org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) 在 org.apache.commons.jelly.TagSupport。 org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41) 上的 invokeBody(TagSupport.java:161) org.apache.commons.jelly.impl.TagScript.run(TagScript.java: 269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) 在 org.apache.commons.jelly .tags.core.ChooseTag.doTag(ChooseTag.java:38) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 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:119) 在 org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) 在 org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java :150) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.kohsuke。 org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) 在 org.apache.commons.jelly.impl.TagScript 上的订书机.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) .run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl .TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) 在 org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java :46) org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) org.apache。 commons.jelly.TagSupport.invokeBody(TagSupport.java:161) 在 org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) 在 org.apache.commons.jelly.impl.TagScript。在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache.commons.jelly.tags 运行(TagScript.java:269)。core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java :95) 在 org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) 在 org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) 在 org.apache .commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache.commons.jelly。 tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock .java:95) 在 org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 在 org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.kohsuke 的 org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) .stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) 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:119)在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 在 org.apache.commons.jelly。 tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) 在 org.apache。commons.jelly.impl.TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.apache.commons.jelly.tags.core。 CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run( CoreTagLibrary.java:105) 在 org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.kohsuke .stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 在 org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) 在 org.apache.commons.jelly.impl。 TagScript.run(TagScript.java:269) 在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) 在 org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1。在 org.kohsuke.stapler.jelly.ReallyStaticTagLibrary 运行(ReallyStaticTagLibrary.java:99)$1.run(ReallyStaticTagLibrary.java:99)在 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)在org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary $1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary .java:105) 在 org.org.apache.commons.jelly.tags.core.CoreTagLibrary 上的 kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) $2.run(CoreTagLibrary.java:105) 在 org.kohsuke.stapler.jelly.JellyViewScript .run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org. kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) ... 62 更多原因:java.lang.NoClassDefFoundError: com/cloudbees/plugins/credentials/domains/DomainCredentials at com.cloudbees.hudson.plugins .folder.properties.FolderCredentialsProvider$FolderCredentialsProperty$DescriptorImpl.defaultIfNull(FolderCredentialsProvider.java:194) 在 sun.reflect.NativeMethodAccessorImpl。invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:第597章 org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) .apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) 在 org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) 在 org.apache.commons.jexl.parser .ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) 在 org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:111) 在 org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) 在 org.apache。 commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 187 更多

4

1 回答 1

1

此类是在凭据插件 1.5 中引入的,请仔细检查您是否安装了最新版本。

于 2013-09-05T14:02:59.110 回答