ANT配置未在jenkins中显示

时间:2014-01-27 08:45:21

标签: tomcat jenkins

我是jenkins setup的新手。我在tomcat服务器上运行时遇到了一些错误。但是jenkins是开放的但是当我需要配置系统(管理jenkins - >配置系统)时,我能够配置java但是我无法配置ANT.I已经在本地安装了我的蚂蚁并把它放在一个系统路径中,并且它在本地工作正常。我尝试使用许多插件在jenkins中实现蚂蚁时间也无法获得ant配置在配置system.Kindly告诉我,我有什么需要解决这个问题以及如何在jenkins中使用ant。

我的下一个问题是为什么在tomcat中运行它时会发生这么多错误,但是它是开放的。

我的错误是

SEVERE: Failed Loading plugin maven-plugin
java.io.IOException: Unable to load hudson.maven.PluginImpl from maven-plugin
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:3...

Jan 27, 2014 2:06:51 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading plugin email-ext
java.io.IOException: Dependency maven-plugin (1.409) doesn't exist
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:487)...

Jan 27, 2014 2:06:51 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Jan 27, 2014 2:06:52 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Jan 27, 2014 2:06:52 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Jan 27, 2014 2:07:03 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
WARNING: Failed to instantiate Key[type=hudson.plugins.sshslaves.SSHLauncher$DescriptorImpl, annotation=[none]]; skipping this component
com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting constructor, java.lang.NoClassDefFoundError: com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey$PrivateKeySource
  at hudson.plugins.sshslaves.SSHLauncher$DescriptorImpl.<init>(Unknown Source).... com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    voke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)...
Caused by: java.lang.NoClassDefFoundError: com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey$PrivateKeySource
    at java.lang.Class.getDeclaredMethods0(Native Method)
Caused by: java.lang.ClassNotFoundException: com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$PrivateKeySource
    at .....

我正在使用jenkins 1.548 war.Kindly帮我解决这个问题,谢谢

0 个答案:

没有答案