Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: jsp pages path is not built to correct place

Venkata Ramireddy CH:

I am creating my first web application using spring mvc and hibernate. When I generate war file(even without generating war, I also tried to deploy directly using in IDE itself and went to deployment folder and observed) my jsp files are placed under WEB-INF\classes\WEB-INF\views. But I think this has to be WEB-INF\views. Can any one of you please help me with what I missed here? Mi Appconfig class is"

@ComponentScan(basePackages = "com.spring.basics")
public class AppConfig {

public ViewResolver viewResolver() {
InternalResourceViewResolver viewResolver = new InternalResourceViewResolver();
return viewResolver;

Thanks, Venkat

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered

This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: jsp pages path is not built to correct place


Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription