我是 Hudson 管理的新手,所以我的问题是101:
我下载了 hudson-3.0.0.war ,据说只是 Hudson Core 而没有包含任何插件,并将其部署在我的 Apache Tomcat 7.0 < / em>服务器。
所以 Hudson 作为一个Web应用程序,我可以浏览它,通过UI管理插件等等。
但是当我尝试创建我的第一份工作 构建一个自由式软件项目 时,我得到以下异常:
HTTP Status 500 - java.lang.NoClassDefFoundError: org/eclipse/hudson/utils/tasks/MetaProject
type Exception report
message java.lang.NoClassDefFoundError: org/eclipse/hudson/utils/tasks/MetaProject
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/eclipse/hudson/utils/tasks/MetaProject
我认为缺少某个插件(虽然我希望即使是基本发行版也包含这样一个基本任务,但不要介意......)。 我无法弄清楚我必须安装哪个插件才能在所有可用插件之间创建作业。
我真的希望对这个问题提供任何帮助,我将非常感激。
答案 0 :(得分:0)
看起来你错过了依赖。将依赖项添加到pom.xml:
<dependency>
<groupId>org.eclipse.hudson</groupId>
<artifactId>hudson-plugin-utils</artifactId>
<version>3.0.1</version>
</dependency>