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