I am getting "Not found(404), Could not find servlet for: /plugins/servlet/" error

Sushant February 6, 2013

Following is my entry in plugin descriptor

<servlet name="Project priority report servlet" key="preport"
class="com.project.Priorityreport">
<description>Report</description>
<url-pattern>/test/priority</url-pattern>
</servlet>

But i am getting error whenever I try to access it using following URL
http://<localhost>:8080/plugins/servlet/test/priority

3 answers

1 accepted

0 votes
Answer accepted
Sushant February 6, 2013

I was using TemplateRenderer to render a velocity page without using <component-import> for this interface. Thats why it was giving an error instantiating the module via Spring because of unresolved dependency.

Thanks Mizan & Renjith.

Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2013

I guess such errors can be minimised if we use an IDE .

1 vote
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2013

Is your plugin enabled? Check in manage plugins or logs to see if there are any loading issues (exceptions I mean)

0 votes
Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2013
Sushant February 6, 2013

I still get an error, and this time it doesnt even recognize that I am looking for some servlet.
I get following error:-

/servlet/test/priority

Could not find what you were looking for.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events