spring modelandview maven dependency

Ads

 
 
 

Share on Google+Share on Google+

Java Coder
spring modelandview maven dependency
1 Answer(s)      2 years and 9 months ago
Posted in : Maven

Hi,

how to add the spring modelandview maven dependency in pom.xml file. In my application its saying that ModelAndView class not found.

Thanks

Ads
View Answers

August 2, 2014 at 2:34 PM


You should add the spring-webmvc in your project pom.xml file.

Here is an example:

<dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring-webmvc</artifactId>
     <version>3.2.0.RELEASE</version>
</dependency>

Thanks


Ads









Related Tutorials/Questions & Answers:
spring modelandview maven dependency
spring modelandview maven dependency  Hi, how to add the spring modelandview maven dependency in pom.xml file. In my application its saying that ModelAndView class not found. Thanks   You should add the spring-webmvc
What is maven dependency for spring?
What is maven dependency for spring?  Hi, How I can add all the maven dependency of Spring Framework in pom.xml file? Thanks   Hi, Spring framework is big framework but its good news that all the modules are separate
Advertisements
What is the maven dependency for spring batch?
What is the maven dependency for spring batch?  Hi, I have a project... org.springframework.batch.repeat.RepeatStatus; My project is based on the maven tool. What is the maven dependency for spring batch? Thanks   Hi
Spring Security Maven Dependency
Spring Security Maven Dependency In the below section, you will learn about maven dependency of Spring Security. The pom.xml is a XML file that contains information about the project and configuration details used by Maven to build
Maven dependency for Spring Web MVC 4.0.1.RELEASE
Maven dependency for Spring Web MVC 4.0.1.RELEASE  Hi, What is the Maven dependency for Spring Web MVC 4.0.1.RELEASE? Thanks   Hi, You can use the following dependency in your pom.xml file: <dependency>
Hibernate maven dependency example
Hibernate maven dependency example  Hi, How to add the maven dependency in Hibernate based application? What dependency should I add in the pom.xml file of the maven Hibernate project? Thanks
Maven Hibernate Dependency
In this section, you will learn about maven hibernate dependency
mysql maven dependency
mysql maven dependency  Hi, How to add the mysql maven dependency in pom.xml file? Thanks   Hi, You can add the following code in pom.xml file: <dependency> <groupId>mysql</groupId>
com.google.guava maven dependency
com.google.guava maven dependency  Hi, What is the dependency code for com.google.guava maven dependency? Thanks   Hi, Google Guava... is the dependency code that you need to add in pom.xml file: <dependency> <
maven javassist dependency
maven javassist dependency  In my one of the Maven project... add missed dependency! at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:168... dependency? Thanks   Hi, You should add the following
Apache Commons ioutils maven dependency
: Apache Commons ioutils maven dependency <dependency> <groupId>...Apache Commons ioutils maven dependency  Hi, What is the maven dependency of Apache Commons ioutils? I want to use this for my project which
How to add struts2 dependency in Maven?
How to add struts2 dependency in Maven?  What is the dependency code for adding to pom.xml file to include the struts2 library? Thanks   ...;2.3.16.3</version> </dependency> Read more Maven tutorial at http
Apache commons beanutils maven dependency
Apache commons beanutils maven dependency  How to use the Apache commons beanutils maven dependency in maven project? Can anyone tell me the maven dependency of the latest beanutils from apache. Thanks   Hi, You can
Hibernate 4.2.7 Maven dependency
Adding Hibernate 4.2.7 Maven dependency in a project How to add the Hibernate 4.2.7 Maven dependency in a project? The Maven is industry standard build tool... to specify the dependency of Hibernate 4.2.7  in your project
Hibernate 4.2.8 Maven dependency
Adding Hibernate 4.2.8 Maven dependency in a project How to add the Hibernate 4.2.8 Maven dependency in a project? The Maven is industry standard build tool... to specify the dependency of Hibernate 4.2.8  in your project
Spring asm Dependency
Spring 3 ASM - Spring asm Dependency       In earlier version of Spring... dependency in your Spring 3 project you might get the following error: Jan
Hibernate 4.3.0.Final Maven dependency
Adding Hibernate 4.3.0.Final Maven dependency in a project How to add the Hibernate 4.3.0.Final Maven dependency in a project? The Maven is industry standard... just have to specify the dependency of Hibernate 4.3.0.Final  in your
What are the types of Dependency Injection Spring supports
What are the types of Dependency Injection Spring supports  Hi, What are the types of Dependency Injection Spring supports
Spring 5 Framework maven pom.xml
Spring 5 Framework maven pom.xml  Hi, Spring 5 is already released... be added to the maven based project. What is the code for Spring 5 Framework in maven's pom.xml file? Thanks   Hi, Spring framework is used for many
Hibernate 4.3.4 Released: Hibernate 4.3.4.Final Maven dependency
Adding Hibernate 4.3.4.Final Maven dependency in a project How to add the Hibernate 4.3.4.Final Maven dependency in a project? Hibernate 4.3.4 is already released and you can start using this in your project. The Maven is industry
Spring Dependency-Check
Spring Dependency-Check In this tutorial you will see how to check for unresolved dependencies of a bean that is deployed into the spring IoC container... are satisfied or not. The dependency-check attribute is set in the <bean/>
Struts 2.3.15.1 Maven - How to use Maven dependency of Struts 2.3.15.1?
Struts 2.3.15.1 Maven - How to use Maven dependency of Struts 2.3.15.1? In this section we will tell you about the correct Maven dependency configuration... the Struts 2.3.15 dependency files from the remote maven repositories. Here
Constructor Based Dependency Injection in Spring
Constructor-based dependency injection In the constructor-based dependency...;bean.display("hello spring");   .../beans  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
jquery dependency dropdown box in spring hibernate my sql
jquery dependency dropdown box in spring hibernate my sql  Hi Friends, Can you please provide me the code for dynamic drop down box using jquery in spring, hibernate and oracle/mysql database. Like if i select country
Using JUnit to test struts application that uses Spring to manage object dependency - Spring
pattern and the dependency is managed by Spring. I am now getting NullPointers...Using JUnit to test struts application that uses Spring to manage object... cases and test in-container. I am using Struts as the framework and Spring
How to create spring 4 hibernate 4 maven example program?
How to create spring 4 hibernate 4 maven example program?  Hi, Tell me the easiest to create integrated spring 4 hibernate 4 example which is maven based and can create the war file from the command tool. Thanks
Modification in conventional ModelAndView
In this section, you will get to known about the new modification in conventional ModelAndView
using spring rmi+maven but i am getting this exception
using spring rmi+maven but i am getting this exception  D:\Nexustool...] ------------------------------------------------------------------------ [INFO] [INFO] >>> exec-maven...; exec-maven-plugin:1.1:java (default-cli) @ engine <<< [INFO] [INFO
Maven - Maven
Maven  I am new to maven tool.i don't know anything abt that? plesae explain me about maven   Hi mamatha, Maven is a high-level... software foundation group. Maven deals with application development lifecycle
spring
spring   hi how can we make spring bean as prototype how can we load applicationcontext in spring what is dependency injection
Maven https repository
Maven https repository access available Now there is access to the maven... developers can configure the Maven to download the dependencies over https from the Maven central repository. In this tutorial will show you how you can
Tutorials   
Java Spring Hibernate Struts Training com.google.guava maven dependency What is maven dependency for spring? Maven jars How to add Apache Commons IO in pom.xml file? maven javassist dependency maven mysql jdbc driver spring modelandview maven dependency org.springframework.web maven org.springframework.stereotype maven How to convert eclipse project to Maven How to create spring 4 hibernate 4 maven example program? mysql maven dependency package javax.servlet does not exist package javax.validation does not exist Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help! Error with Maven while deploying the war file Error with Maven while deploying the war file pom.xml local jar pom.xml local jar Maven with eclipse maven fortify plugin How to give path to the Dfile? How To get DgroupId while using maven. maven build failed maven build failed Moving projects from tomcat-6.0 to jboss 5.0.1 GA Local repository in Maven build failure error with maven How to Configure pom.xml file in Maven ? pls send maven interview questions Local Maven Depenency maven subversion issue maven subversion issue validation java - Maven Maven's order of inheritance including jar file in maven pom.xml Mojo java - Maven generation - Maven Maven 2 - Maven java - Maven Mockstrutstest case in Weblogic - Maven java - Maven merge two war files Maven - Maven merge two war files Maven Exclusion - Maven MyEclipse - Maven

Ads

 
Advertisement null

Ads