如何在Jira中安装插件?

时间:2015-09-09 08:28:15

标签: jira-plugin

我想根据a tutorial创建一个示例servlet作为Jira-plugin。

我已按原样构建代码,并使用以下pom.xml来构建代码。

当我运行servlet URL时,我遇到了关于类强制转换的以下问题。

[INFO] [talledLocalContainer] ERROR - 13:41:52,368 -     com.atlassian.plugin.servlet.DefaultServletModuleManager - [http-bio-5990-exec-4] - Unable to create new reference LazyLoadedServletReference{d
escriptor=com.atlassian.plugins.tutorial.refapp.adminUI:test (null), servletContext=org.apache.catalina.core.ApplicationContextFacade@2829d93e}
[INFO] [talledLocalContainer] com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.ClassCastException: com.atlassian.plugins.tutorial.refapp.MyPluginServlet cannot be cast to javax.servlet.http.HttpServlet
[INFO] [talledLocalContainer]   at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

0 个答案:

没有答案