java.lang.NoClassDefFoundError: org/springframework/ui/jasperreports/JasperReportsUtils原因

在springMVC结合jasperReporter中发现的问题

 java.lang.NoClassDefFoundError: org/springframework/ui/jasperreports/JasperReportsUtils

解决办法

You need the spring-context-support jar in your classpath. Use maven:

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context-support</artifactId>
        <version>${spring.version}</version>
    </dependency>

参考:http://stackoverflow.com/questions/17645905/how-to-use-the-jasperreportsmultiformatview-with-contentnegotiatingviewresolver
posted @ 2016-10-19 22:21  博学善思。。ljd  阅读(2012)  评论(0编辑  收藏  举报