java - jira REST Plugin The ResourceConfig instance does not contain any root resource classes -
i have read of 3 questions, asked before. have try described solutions questions. asked google this, , nothing helps me.
i'm new jira development, , use official atlassian tutorials.
so problem.
i need add rest module plugin.
pom.xml dependencies:
<dependencies> <dependency> <groupid>com.atlassian.jira</groupid> <artifactid>jira-api</artifactid> <version>${jira.version}</version> </dependency> <dependency> <groupid>com.atlassian.activeobjects</groupid> <artifactid>activeobjects-plugin</artifactid> <version>${ao.version}</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.atlassian.activeobjects</groupid> <artifactid>activeobjects-jira-spi</artifactid> <version>${ao.version}</version> <scope>provided</scope> </dependency> <!-- sal, active objects plugin uses sal's api transactions --> <dependency> <groupid>com.atlassian.sal</groupid> <artifactid>sal-api</artifactid> <version>2.4.1</version> <scope>provided</scope> </dependency> <!-- google collections, useful utilities manipulating collections --> <dependency> <groupid>com.google.guava</groupid> <artifactid>guava</artifactid> <version>14.0.1</version> </dependency> <!-- add dependency on jira-core if want access jira implementation classes sanctioned api. --> <!-- not recommended, may required eg when migrating plugin developed against jira 4.x --> <!-- <dependency> <groupid>com.atlassian.jira</groupid> <artifactid>jira-core</artifactid> <version>${jira.version}</version> <scope>provided</scope> </dependency> --> <dependency> <groupid>junit</groupid> <artifactid>junit</artifactid> <version>4.10</version> <scope>test</scope> </dependency> <!-- wired test runner dependencies --> <dependency> <groupid>com.atlassian.plugins</groupid> <artifactid>atlassian-plugins-osgi-testrunner</artifactid> <version>${plugin.testrunner.version}</version> <scope>test</scope> </dependency> <dependency> <groupid>javax.ws.rs</groupid> <artifactid>jsr311-api</artifactid> <version>1.1.1</version> </dependency> <dependency> <groupid>com.google.code.gson</groupid> <artifactid>gson</artifactid> <version>2.2.2-atlassian-1</version> <scope>provided</scope> </dependency> <!--fck rest--> <dependency> <groupid>com.sun.jersey</groupid> <artifactid>jersey-client</artifactid> <version>1.5</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.sun.jersey.contribs</groupid> <artifactid>jersey-multipart</artifactid> <version>1.5</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.sun.jersey.contribs</groupid> <artifactid>jersey-apache-client</artifactid> <version>1.5</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.sun.jersey</groupid> <artifactid>jersey-json</artifactid> <version>1.5</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.sun.jersey</groupid> <artifactid>jersey-bundle</artifactid> <version>1.8</version> <scope>provided</scope> </dependency> <!-- uncomment use testkit in project. details @ https://bitbucket.org/atlassian/jira-testkit --> <!-- can read more testkit @ https://developer.atlassian.com/display/jiradev/plugin+tutorial+-+smarter+integration+testing+with+testkit --> <!-- <dependency> <groupid>com.atlassian.jira.tests</groupid> <artifactid>jira-testkit-client</artifactid> <version>${testkit.version}</version> <scope>test</scope> </dependency> --> <dependency> <groupid>org.mockito</groupid> <artifactid>mockito-all</artifactid> <version>1.8.5</version> <scope>test</scope> </dependency> <dependency> <groupid>javax.servlet</groupid> <artifactid>servlet-api</artifactid> <version>2.4</version> <scope>provided</scope> </dependency> <dependency> <groupid>javax.xml.bind</groupid> <artifactid>jaxb-api</artifactid> <version>2.1</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.atlassian.plugins.rest</groupid> <artifactid>atlassian-rest-module</artifactid> <version>2.5.0</version> <scope>provided</scope> </dependency> <dependency> <groupid>com.atlassian.plugins.rest</groupid> <artifactid>atlassian-rest-common</artifactid> <version>2.5.0</version> <scope>provided</scope> </dependency> <dependency> <groupid>org.apache.wink</groupid> <artifactid>wink-client</artifactid> <version>1.1.3-incubating</version> <scope>test</scope> </dependency> </dependencies>
atlassian-plugin.xml part:
<web-resource key="taskautotimer-resources" name="taskautotimer web resources"> <dependency>com.atlassian.auiplugin:ajs</dependency> <resource type="download" name="taskautotimer.css" location="/css/taskautotimer.css"/> <resource type="download" name="taskautotimer.js" location="/js/taskautotimer.js"/> <resource type="download" name="images/" location="/images"/> <context>taskautotimer</context> </web-resource> <!-- import product container --> <component-import key="applicationproperties" interface="com.atlassian.sal.api.applicationproperties"></component-import> <web-panel name="time spent task" i18n-name-key="timespentfortask.name" key="timespentfortask" location="atl.jira.view.issue.right.context" weight="1000"> <description key="timespentfortask.description">the time spent task plugin</description> <label key="timespentfortask.title"/> <context-provider class="com.miritec.jira.plugin.timespentfortask"/> <resource name="view" type="velocity" location="timespentfortask.vm"/> </web-panel> <component-import key="ao" name="active objects service" interface="com.atlassian.activeobjects.external.activeobjects"> <description>component access active objects functionality plugin</description> </component-import> <ao key="ao-module"> <description>the module configuring active objects service used plugin</description> <entity>com.miritec.jira.plugin.tsentity</entity> </ao> <component key="tsservice" class="com.miritec.jira.plugin.tsserviceimpl" name="tsservice" public="true" system="true"> <interface>com.miritec.jira.plugin.tsservice</interface> </component> <component key="tx-processor" name="transactional annotation processor" class="com.atlassian.activeobjects.external.transactionalannotationprocessor"> <decription>processes @transactional annotations.</decription> </component> <rest name="tt rest" i18n-name-key="tt-rest.name" key="tt-rest" path="/tasktimer" version="1.0"> <description key="tt-rest.description">the tt rest plugin</description> </rest>
rest class , model:
package com.miritec.jira.plugin.rest; import com.atlassian.plugins.rest.common.security.anonymousallowed; import javax.ws.rs.*; import javax.ws.rs.core.mediatype; import javax.ws.rs.core.response; /** * resource of message. */ @path("/ttrest") public class ttrest { @get @anonymousallowed @produces({mediatype.application_json, mediatype.application_xml}) @path("/msg") public response getmessage() { return response.ok(new ttrestmodel("hello world")).build(); } } package com.miritec.jira.plugin.rest; import javax.xml.bind.annotation.*; @xmlrootelement public class ttrestmodel { @xmlelement private string message; public ttrestmodel() { } public ttrestmodel(string message) { this.message = message; } public string getmessage() { return message; } public void setmessage(string message) { this.message = message; } }
after of [atlas-mvn clean install]/[atlas-run]/[removing proj/target/ content hands]/[restarting jira] still have same problem - 404(not found) page /jira/rest/tasktimer/1.0/msg url , console stacktrace this
[info] [talledlocalcontainer] 22.08.2013 14:19:08 com.sun.jersey.server.impl.application.webapplicationimpl _initiate [info] [talledlocalcontainer] info: initiating jersey application, version 'jersey: 1.8-atlassian-11 03/22/2013 05:02 pm' [info] [talledlocalcontainer] 2013-08-22 14:19:08,847 http-bio-2990-exec-13 error admin 859x1912x1 1whoxol 192.168.1.18 /rest/tasktimer/1.0/msg [server.impl.application.rootresourceurirules] resourceconfig instance not contain root resource classes. [info] [talledlocalcontainer] 22.08.2013 14:19:08 com.sun.jersey.server.impl.application.rootresourceurirules <init> [info] [talledlocalcontainer] severe: resourceconfig instance not contain root resource classes. [info] [talledlocalcontainer] 2013-08-22 14:19:08,848 http-bio-2990-exec-13 error admin 859x1912x1 1whoxol 192.168.1.18 /rest/tasktimer/1.0/msg [atlassian.plugin.servlet.defaultservletmodulemanager] unable create filter [info] [talledlocalcontainer] com.atlassian.util.concurrent.lazyreference$initializationexception: com.sun.jersey.api.container.containerexception: resourceconfig instance not contain root resource classes. [info] [talledlocalcontainer] @ com.atlassian.util.concurrent.lazyreference.getinterruptibly(lazyreference.java:149) [info] [talledlocalcontainer] @ com.atlassian.util.concurrent.lazyreference.get(lazyreference.java:112) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.defaultservletmodulemanager.getfilter(defaultservletmodulemanager.java:389) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.defaultservletmodulemanager.getfilters(defaultservletmodulemanager.java:213) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.servlet.defaultrestservletmodulemanager.getfilters(defaultrestservletmodulemanager.java:117) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:75) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:63) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.servlet.restservletutilsupdaterfilter.dofilterinternal(restservletutilsupdaterfilter.java:26) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.servlet.restservletutilsupdaterfilter.dofilter(restservletutilsupdaterfilter.java:40) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.applinks.core.rest.context.contextfilter.dofilter(contextfilter.java:25) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.mywork.client.filter.servingrequestsfilter.dofilter(servingrequestsfilter.java:37) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.prettyurls.filter.prettyurlsdispatcherfilter.dofilter(prettyurlsdispatcherfilter.java:60) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.prettyurls.filter.prettyurlssitemeshfilter.dofilter(prettyurlssitemeshfilter.java:92) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.prettyurls.filter.prettyurlsmatcherfilter.dofilter(prettyurlsmatcherfilter.java:56) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.labs.botkiller.botkillerfilter.dofilter(botkillerfilter.java:36) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.labs.httpservice.resource.resourcefilter.dofilter(resourcefilter.java:59) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:77) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:63) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.jira.web.filters.accesslog.accesslogfilter.executerequest(accesslogfilter.java:103) [info] [talledlocalcontainer] @ com.atlassian.jira.web.filters.accesslog.accesslogfilter.dofilter(accesslogfilter.java:87) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.jira.security.xsrf.xsrftokenadditionrequestfilter.dofilter(xsrftokenadditionrequestfilter.java:54) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.jira.web.filters.steps.chainedfiltersteprunner.dofilter(chainedfiltersteprunner.java:87) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:46) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.plugin.remotable.plugin.module.permission.apiscopingfilter.dofilter(apiscopingfilter.java:62) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.prettyurls.filter.prettyurlscombinedmatchdispatcherfilter.dofilter(prettyurlscombinedmatchdispatcherfilter.java:61) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:77) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:63) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.seraph.filter.securityfilter.dofilter(securityfilter.java:234) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.security.auth.trustedapps.filter.trustedapplicationsfilter.dofilter(trustedapplicationsfilter.java:98) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.seraph.filter.baseloginfilter.dofilter(baseloginfilter.java:169) [info] [talledlocalcontainer] @ com.atlassian.jira.web.filters.jiraloginfilter.dofilter(jiraloginfilter.java:70) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:46) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.oauth.serviceprovider.internal.servlet.oauthfilter.dofilter(oauthfilter.java:55) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.servlet.restseraphfilter.dofilter(restseraphfilter.java:40) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter$1.dofilter(delegatingpluginfilter.java:66) [info] [talledlocalcontainer] @ com.atlassian.prettyurls.filter.prettyurlscombinedmatchdispatcherfilter.dofilter(prettyurlscombinedmatchdispatcherfilter.java:61) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.dofilter(delegatingpluginfilter.java:74) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.iteratingfilterchain.dofilter(iteratingfilterchain.java:42) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:77) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.servletfiltermodulecontainerfilter.dofilter(servletfiltermodulecontainerfilter.java:63) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.johnson.filters.abstractjohnsonfilter.dofilter(abstractjohnsonfilter.java:71) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ org.tuckey.web.filters.urlrewrite.rulechain.handlerewrite(rulechain.java:176) [info] [talledlocalcontainer] @ org.tuckey.web.filters.urlrewrite.rulechain.dorules(rulechain.java:145) [info] [talledlocalcontainer] @ org.tuckey.web.filters.urlrewrite.urlrewriter.processrequest(urlrewriter.java:92) [info] [talledlocalcontainer] @ org.tuckey.web.filters.urlrewrite.urlrewritefilter.dofilter(urlrewritefilter.java:394) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) [info] [talledlocalcontainer] @ com.atlassian.gzipfilter.gzipfilter.dofilterinternal(gzipfilter.java:80) [info] [talledlocalcontainer] @ com.atlassian.gzipfilter.gzipfilter.dofilter(gzipfilter.java:51) [info] [talledlocalcontainer] @ com.atlassian.jira.web.filters.gzip.jiragzipfilter.dofilter(jiragzipfilter.java:55) [info] [talledlocalcontainer] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) [info] [talledlocalcontainer] @ ... more [info] [talledlocalcontainer] caused by: com.sun.jersey.api.container.containerexception: resourceconfig instance not contain root resource classes. [info] [talledlocalcontainer] @ com.sun.jersey.server.impl.application.rootresourceurirules.<init>(rootresourceurirules.java:99) [info] [talledlocalcontainer] @ com.sun.jersey.server.impl.application.webapplicationimpl._initiate(webapplicationimpl.java:1298) [info] [talledlocalcontainer] @ com.sun.jersey.server.impl.application.webapplicationimpl.access$700(webapplicationimpl.java:169) [info] [talledlocalcontainer] @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:775) [info] [talledlocalcontainer] @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:771) [info] [talledlocalcontainer] @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193) [info] [talledlocalcontainer] @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:771) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.restdelegatingservletfilter$jerseyosgiservletcontainer.initiate(restdelegatingservletfilter.java:184) [info] [talledlocalcontainer] @ com.sun.jersey.spi.container.servlet.servletcontainer$internalwebcomponent.initiate(servletcontainer.java:318) [info] [talledlocalcontainer] @ com.sun.jersey.spi.container.servlet.webcomponent.load(webcomponent.java:609) [info] [talledlocalcontainer] @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:210) [info] [talledlocalcontainer] @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373) [info] [talledlocalcontainer] @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:710) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.restdelegatingservletfilter.initservletcontainer(restdelegatingservletfilter.java:99) [info] [talledlocalcontainer] @ com.atlassian.plugins.rest.module.restdelegatingservletfilter.init(restdelegatingservletfilter.java:64) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.filter.delegatingpluginfilter.init(delegatingpluginfilter.java:43) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.defaultservletmodulemanager$lazyloadedfilterreference.create(defaultservletmodulemanager.java:442) [info] [talledlocalcontainer] @ com.atlassian.plugin.servlet.defaultservletmodulemanager$lazyloadedfilterreference.create(defaultservletmodulemanager.java:427) [info] [talledlocalcontainer] @ com.atlassian.util.concurrent.lazyreference$sync.run(lazyreference.java:321) [info] [talledlocalcontainer] @ com.atlassian.util.concurrent.lazyreference.getinterruptibly(lazyreference.java:143) [info] [talledlocalcontainer] ... 178 more
middle part of trace cut, bcz of long please, me solve problem. in advance.
url /jira/rest/tasktimer/1.0/ttrest/msg same result
problem solved. after updating atlas sdk last version, recreating plugin rest module first , downgrading ao version 0.19.7 looks fine. downgrading ao important
Comments
Post a Comment