This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
5 Replies Last post: Mar 26, 2010 11:27 PM by Maxim Podkolzine  
Markus Bischof Newbie 12 posts since
Mar 14, 2010
Currently Being Moderated

Mar 14, 2010 12:24 PM

No mapping found for HTTP request with URI...

Hi,

 

I tried to create a very simple plugin which registers a custom issue-tracker. I managed to see "my" issue-tracker in the combobox of the dialog where you can choose the tracker connections (Server configuration -> IssueTracker -> Create new connection).

 

But if a click on my tracker, nothing happens. I see the following line in the stdout-log file:

 

No mapping found for HTTP request with URI [/admin/myissuetracker/editIssueProvider.html] in DispatcherServlet with name 'buildServer'

 

I've checked that my editIssueProvider.jsp is loacted in "TeamCity\webapps\ROOT\plugins\MyIssueTracker\admin"...

 

Did I miss the point where I configure which page should get loaded?

 

Regards...

Maxim Podkolzine JetBrains 233 posts since
Dec 17, 2008
Currently Being Moderated
Mar 15, 2010 6:51 PM in response to: Markus Bischof
Re: No mapping found for HTTP request with URI...

Hi Markus,

 

What TeamCity version do you use?

The URL path should be "/admin/issuetracker/editIssueProvider.html", but I can't figure out how it could've changed.

Could you attach the current sources of your plugin?

 

 

---

Maxim

Maxim Podkolzine JetBrains 233 posts since
Dec 17, 2008
Currently Being Moderated
Mar 25, 2010 3:58 PM in response to: Markus Bischof
Re: No mapping found for HTTP request with URI...

Hi Markus,

 

Sorry for the delay, it took me some time before I could get back to your problem.

 

> No mapping found for HTTP request with URI [/admin/issuetracker/editIssueProvider.html...

Something's definitely wrong here, because our internal controller is mapped on this url. Please try in your browser: <server>/admin/issueTracker/editIssueProvider.html?type=bugzilla

In ordinary TeamCity installations a simple dialog for bugzilla should be displayed.

 

I didn't look into your build.xml, and tried to compile and deploy the plugin myself. In the end I succeeded, but I have a few comments though.

 

- MyCommentTransformationHelper returns incorrect regexp. This isn't causing problems right now, but it will. Note that the regexp should _not_ match empty string.

- You can reuse common implementation part. It is bundled with TeamCity starting from 5.1 (few EAPs have already been released). I think it may simplify the plugin significantly.

 

In my configuration I named the plugin "my_issue_tracker". getType() methods returned this string, the resources were copied to "/plugins/my_issue_tracker". And everything worked out.

 

I think you should check your TeamCity installation first, then try to deploy the plugin. Please write back with your results.

 

 

---

Maxim

Maxim Podkolzine JetBrains 233 posts since
Dec 17, 2008
Currently Being Moderated
Mar 26, 2010 11:27 PM in response to: Markus Bischof
Re: No mapping found for HTTP request with URI...

Sure. Thanks for trying our API anyway.

 

 

---

Maxim

More Like This

  • Retrieving data ...