Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Pete Neu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • 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


 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about posting the stacktrace?
 
Pete Neu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • 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'

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic