Announcement Announcement Module
Collapse
No announcement yet.
Spring Framework 3.2 GA Released Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Framework 3.2 GA Released

    The Spring team are very happy to announce that Spring Framework 3.2 GA is now released and available via both the SpringSource repository and Maven Central.

    See Juergen's blog post for complete details!

    Download | Documentation | Javadoc API | Change Log | JIRA | Forum | Stack Overflow

  • #2
    I upgraded from Spring 3.1.2 to 3.2

    After upgrade, all my date variables in forms are failing with joda conversion error.

    org.springframework.core.convert.ConverterNotFound Exception: No converter found capable of converting from type java.util.Date to type org.joda.time.ReadableInstant


    Sample Code:

    Its failing with any of the following options.

    <form:input id="startDt" path="startDt" value="2012-10-12" />
    <form:input id="startDt" path="startDt" value="10-12-2012" />
    <form:input id="startDt" path="startDt" value="10/12/2012" />

    Note: startDt is of type java.util.Date

    Comment


    • #3
      I have raised a new JIRA issue for this [1]. Could you please update the JIRA with a full stack trace? You might also want to watch the issue for updates.

      Cheers.
      Phil.

      [1] https://jira.springsource.org/browse/SPR-10097

      Comment


      • #4
        46: </tr>
        47: <tr>
        48: <td><label>Start Date</label><span class="required">*</span></td>
        49: <td><form:input id="startDt" path="startDt"
        50: class="validate[required] text-input datepicker dateField"/></td>
        51: </tr>
        52: <%--


        Stacktrace:] with root cause
        org.springframework.core.convert.ConverterNotFound Exception: No converter found capable of converting from type java.util.Date to type org.joda.time.ReadableInstant
        at org.springframework.core.convert.support.GenericCo nversionService.handleConverterNotFound(GenericCon versionService.java:276)
        at org.springframework.core.convert.support.GenericCo nversionService.convert(GenericConversionService.j ava:172)
        at org.springframework.format.support.FormattingConve rsionService$PrinterConverter.convert(FormattingCo nversionService.java:133)
        at org.springframework.core.convert.support.Conversio nUtils.invokeConverter(ConversionUtils.java:35)
        at org.springframework.core.convert.support.GenericCo nversionService.convert(GenericConversionService.j ava:169)
        at org.springframework.validation.AbstractPropertyBin dingResult.formatFieldValue(AbstractPropertyBindin gResult.java:125)
        at org.springframework.validation.AbstractBindingResu lt.getFieldValue(AbstractBindingResult.java:222)
        at org.springframework.web.servlet.support.BindStatus .<init>(BindStatus.java:120)
        at org.springframework.web.servlet.tags.form.Abstract DataBoundFormElementTag.getBindStatus(AbstractData BoundFormElementTag.java:178)
        at org.springframework.web.servlet.tags.form.Abstract DataBoundFormElementTag.getPropertyPath(AbstractDa taBoundFormElementTag.java:198)
        at org.springframework.web.servlet.tags.form.Abstract DataBoundFormElementTag.getName(AbstractDataBoundF ormElementTag.java:164)
        at org.springframework.web.servlet.tags.form.Abstract DataBoundFormElementTag.writeDefaultAttributes(Abs tractDataBoundFormElementTag.java:127)
        at org.springframework.web.servlet.tags.form.Abstract HtmlElementTag.writeDefaultAttributes(AbstractHtml ElementTag.java:421)
        at org.springframework.web.servlet.tags.form.InputTag .writeTagContent(InputTag.java:142)
        at org.springframework.web.servlet.tags.form.Abstract FormTag.doStartTagInternal(AbstractFormTag.java:10 2)
        at org.springframework.web.servlet.tags.RequestContex tAwareTag.doStartTag(RequestContextAwareTag.java:7 9)
        at org.apache.jsp.jsp.admin.features.periodEdit_jsp._ jspx_meth_form_005finput_005f2(periodEdit_jsp.java :423)
        at org.apache.jsp.jsp.admin.features.periodEdit_jsp._ jspx_meth_form_005fform_005f0(periodEdit_jsp.java: 169)
        at org.apache.jsp.jsp.admin.features.periodEdit_jsp._ jspService(periodEdit_jsp.java:96)
        at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet .java:728)
        at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet._serviceJspFi le(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java)
        at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet .java:728)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:487)
        at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:412)
        at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:339)
        at org.springframework.web.servlet.view.InternalResou rceView.renderMergedOutputModel(InternalResourceVi ew.java:238)
        at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:264)
        at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1208)
        at org.springframework.web.servlet.DispatcherServlet. processDispatchResult(DispatcherServlet.java:992)
        at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:939)
        at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:856)
        at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:915)
        at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:811)
        at javax.servlet.http.HttpServlet.service(HttpServlet .java:621)
        at org.springframework.web.servlet.FrameworkServlet.s ervice(FrameworkServlet.java:796)
        at javax.servlet.http.HttpServlet.service(HttpServlet .java:728)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
        at com.samplecharts.filter.core.ResponseHeaderFilter. doFilter(ResponseHeaderFilter.java:25)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.ob tainContent(SiteMeshFilter.java:129)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.do Filter(SiteMeshFilter.java:77)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
        at org.springframework.web.filter.HiddenHttpMethodFil ter.doFilterInternal(HiddenHttpMethodFilter.java:7 7)
        at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 330)
        at org.springframework.security.web.access.intercept. FilterSecurityInterceptor.invoke(FilterSecurityInt erceptor.java:118)
        at org.springframework.security.web.access.intercept. FilterSecurityInterceptor.doFilter(FilterSecurityI nterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.access.ExceptionT ranslationFilter.doFilter(ExceptionTranslationFilt er.java:113)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.session.SessionMa nagementFilter.doFilter(SessionManagementFilter.ja va:103)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.authentication.An onymousAuthenticationFilter.doFilter(AnonymousAuth enticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.servletapi.Securi tyContextHolderAwareRequestFilter.doFilter(Securit yContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.savedrequest.Requ estCacheAwareFilter.doFilter(RequestCacheAwareFilt er.java:45)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.authentication.lo gout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.context.SecurityC ontextPersistenceFilter.doFilter(SecurityContextPe rsistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 342)
        at org.springframework.security.web.FilterChainProxy. doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy. doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
        at org.tuckey.web.filters.urlrewrite.RuleChain.handle Rewrite(RuleChain.java:176)
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRule s(RuleChain.java:145)
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.proc essRequest(UrlRewriter.java:92)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter .doFilter(UrlRewriteFilter.java:381)
        at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
        ...
        ...
        ...

        Comment


        • #5
          Originally posted by philwebb View Post
          I have raised a new JIRA issue for this [1]. Could you please update the JIRA with a full stack trace? You might also want to watch the issue for updates.

          Cheers.
          Phil.

          [1] https://jira.springsource.org/browse/SPR-10097
          I uploaded the stacktrace into Jira. Please let me know if you need more details.

          Thanks!!!

          Comment


          • #6
            Got the problem fixed by adding the following code in the Controller.

            @InitBinder
            public void initBinder(WebDataBinder binder) {
            CustomDateEditor dateMMddyyyy = new CustomDateEditor(new SimpleDateFormat("MM/dd/yyyy"), true);
            binder.registerCustomEditor(Date.class, dateMMddyyyy);
            }

            Comment


            • #7
              spring-asm in 3.2.0-RELEASE?

              Originally posted by Chris Beams View Post
              The Spring team are very happy to announce that Spring Framework 3.2 GA is now released and available via both the SpringSource repository and Maven Central.

              I don't see spring-asm 3.2.0-RELEASE??? is that on purpose?

              Comment


              • #8
                Originally posted by mebigfatguy View Post


                I don't see spring-asm 3.2.0-RELEASE??? is that on purpose?
                It is intentional, yes. Please see http://static.springsource.org/sprin...3.2-inline-asm for details.

                Comment


                • #9
                  Originally posted by Chris Beams View Post
                  It is intentional, yes. Please see http://static.springsource.org/sprin...3.2-inline-asm for details.
                  Ug, now i have to somehow include asm 3.1 and asm 4.1 in the same codebase spring->asm4.1, jersey->asm3.1

                  Comment


                  • #10
                    Originally posted by mebigfatguy View Post
                    Ug, now i have to somehow include asm 3.1 and asm 4.1 in the same codebase spring->asm4.1, jersey->asm3.1
                    To be clear, it is actually part of the purpose of this change to allow you to include multiple ASM versions within a single application and to do so while guaranteeing no conflict.

                    In any case, you may now simply forget about the fact that Spring uses ASM at all. It is and always has been an internal concern, repackaged into org.springframework.asm, with the repackaged classes not intended for use outside the framework. This has simply now been formalized. If Jersey or any other library in your application has an explicit dependency on org.objectweb.asm, then naturally you'll need to make sure that's included, though it is probably done so automatically for you in most transitive dependency management cases.

                    Comment


                    • #11
                      Are the Spring Framework OSGi bundles available from a p2 site? I see them and their dependencies available individually from http://repo.springsource.org/release but it would be much more convenient to download them via a dedicated p2 update site, preferably via a zipped update site or a p2 site we can mirror and move to our intranet.

                      Craig

                      Comment


                      • #12
                        I have a new project that i am using Spring 3.1. my project will take another couple of months (2) to complete. is Spring 3.2 GA stable enough to use in a high traffic public facing website? I would like to move to 3.2 because of the the support for Tiles 3.0.

                        any input on this would be great

                        thanks

                        Comment


                        • #13
                          Yes, our GA releases are intended for production use. Note that 3.2.1 will be released very shortly.

                          Comment


                          • #14
                            Originally posted by CraigFoote View Post
                            Are the Spring Framework OSGi bundles available from a p2 site? I see them and their dependencies available individually from http://repo.springsource.org/release but it would be much more convenient to download them via a dedicated p2 update site, preferably via a zipped update site or a p2 site we can mirror and move to our intranet.

                            Craig
                            How are other people consuming Spring Framework in an OSGi environment without an available p2 repo? What am I missing?

                            Craig

                            Comment


                            • #15
                              Anybody? I'm kinda stuck so any help would be greatly appreciated.

                              Craig

                              Comment

                              Working...
                              X