Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Spring 3 MVC: No ViewResolver found with url-pattern /*

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm trying to do a setup for a very basic webapplication with jboss and spring mvc. The problem is the url-pattern I use:
<url-pattern>/*</url-pattern> this setup won't work because the TestController won't find the right viewResolver. The whole thing works
if I use the this <url-pattern>/*.html</url-pattern> in the web.xml.

Any ideas what's wrong?

web.xml:


springmvc-servlet.xml



TestController.java


 
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about posting the stacktrace?
 
Pete Neu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
30.03.2010 13:25:48 main INFO org.apache.coyote.ajp.AjpProtocol: Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
30.03.2010 13:25:57 org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4 INFO de.telekom.sen.charityapp.business.job.SystemUpdateJob: Starting SystemUpdateJob ....
30.03.2010 13:26:05 http-127.0.0.1-8080-2 WARN org.springframework.web.servlet.PageNotFound: No mapping found for HTTP request with URI [/xxApp/WEB-INF/jsp/two.jsp] in DispatcherServlet with name 'springmvc'

 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic