본문 바로가기

Programming!

Spring 3.0 으로 전환 해보면서 문제시 되었던 놈들...

http://www.objectpartners.com/2010/03/01/updating-or-starting-spring-3-0-project/


Tomcat 사용시 viewClass Jstl 관련 부분은 정말...

고마웠수..

----------------------------------------------------------

The next one gets a little tricky.

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config

While this should be a part of Tomcat, it isn’t. I suppose it’s possible that the tag library might not be used by enough Servlet or JSP applications to make it a default. If you’re not using Tomcat, you might have this in your J2EE engine’s classpath already. Since we are running Tomcat in our example, grab the Taglibs from the Apache website (http://tomcat.apache.org/taglibs/standard/). Grab the version 1.1 file (1.2 isn’t quite done yet) and copy the JAR files from the downloaded lib folder to your WEB-INF/lib folder. Restart Tomcat.
-----------------------------------------------------------


하다보니 문제점 하나더

Controller에 Interceptors 를 적용해서 쓰던 중
기존에는
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView ) throws Exception;

였지만, 3.0 MVC의 경우는
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception;

라는..