spring mvc写XML的时候出现过的问题
来源:互联网 发布:mac如何制作铃声 编辑:程序博客网 时间:2024/04/27 16:33
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
<property name="prefix" value="/WEB-INF/jsps/" />
<property name="suffix" value=".jsp" />
</bean>
因为那个name属性和value属性之间没有空格, 书写不规范,且后面的/ 应该有个空格
附上其maven pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>imooc-arthur</groupId>
<artifactId>spring-mvc-study</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-mvc-study Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<spring.version>4.1.3.RELEASE</spring.version>
<commons-lang.version>2.6</commons-lang.version>
<slf4j.version>1.7.6</slf4j.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.2.v20140723</version>
</plugin>
</plugins>
</build>
</project>
- spring mvc写XML的时候出现过的问题
- spring的xml配置文件出现问题
- 自定义view的时候引用到xml里出现问题
- 测试spring和hibernate集成的时候出现的问题
- 配置spring文件时候出现的小问题
- Spring建立XML时候需要注意的问题
- 面试的时候遇到过的问题
- java -- 写时间的时候遇到一个问题,大家有没有遇到过
- makefile出现问题的时候
- mybatis+spring MVC启动的时候出现Mapped Statements collection does not contain value for
- spring mvc 调用dubbo出现了空指针的问题
- 使用@ResponseBody时候spring mvc的配置
- spring-mvc.xml的分析
- 【我的大学】那些本科时候写过的代码
- 配置spring的时候出现的错误
- spring mvc 配置web.xml servlet.xml文件配置以及出现异常的解决方案
- jboss不打印日志的问题------:logback + slf4j + jboss + spring mvc----菩提树下的杨过
- 在写junit test 的时候出现的java.lang.UnsupportedClassVersionError问题
- 获取本机MAC地址,创建GUID,硬盘序列号,vs2013代码通过验证
- 在同个工程中使用 Swift 和 Objective-C(Swift 2.0更新)
- iOS开发——如何做一个漂亮的引导页
- iOS Application Life Cycle 应用程序生命周期
- 将 Objective-C 代码迁移到 Swift(Swift 2.0更新)
- spring mvc写XML的时候出现过的问题
- java学习笔记--java第一课,java入门基础篇
- link
- 11.25hci学习心得
- Swift互用性:与 Objective-C 的 API 交互(Swift 2.0版更新)
- 解决eclipse内存溢出
- 单一职责原则(Single Responsibility Principle)
- hadoop的mapreduce原理解析
- Swift互用性: 使用Objective-C特性编写Swift类(Swift 2.0版)