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

  • #16
    Reference is so much improved, congratulations!

    Regards,
    Oleksandr

    Comment


    • #17
      Encountered error using Spring 2.5 with JDK1.4.2!

      Please note that Spring 2.5 is still compatible with JDK 1.4.2+ and J2EE 1.3+. Java 1.4 users, for example on WebLogic 8.1 or WebSphere 5.1/6.0, are very welcome to upgrade to Spring 2.5 as well.
      I think 2.5 is not full compatible with Java 4 or it's a bug in JVM. When using StoredProcedure (method execute(Map))
      NoSuchMethod exception occured.
      Code:
      java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
      Using Java 5 or 6 the same code works okay. Has anybody same experience?

      Comment


      • #18
        Originally posted by storm View Post
        Encountered error using Spring 2.5 with JDK1.4.2!
        Seems to be this issue: SPR-4215.

        Joerg

        Comment


        • #19
          Spring Security 2

          Is spring 2.5 intended to be compatible with spring-security-2, or will there be a spring-security-2.5 ?

          Also, are there plans to make a spring-security forum, or will you just continue to use the acegisecurity forum ?

          Comment


          • #20
            Spring Security 2.0 will be compatible with both Spring 2.0 and Spring 2.5. In general, all our upcoming portfolio releases will be supporting Spring 2.5 as far as possible.

            Juergen

            Comment


            • #21
              Thanks for the reply - the reason that I ask, is that I am trying to migrate from acegi security to spring-security in a spring 2.5 based application.

              I am getting this exception:

              Caused by: java.lang.NoSuchMethodError: org.springframework.aop.config.AopNamespaceUtils.r egisterAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Ljava/lang/ObjectV
              at org.springframework.security.config.AnnotationDriv enBeanDefinitionParser.parse(AnnotationDrivenBeanD efinitionParser.java:70)
              at org.springframework.beans.factory.xml.NamespaceHan dlerSupport.parse(NamespaceHandlerSupport.java:69)
              at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1246)
              at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1236)
              at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.parseBeanDefinitions(Defau ltBeanDefinitionDocumentReader.java:133)
              at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.registerBeanDefinitions(De faultBeanDefinitionDocumentReader.java:90)
              at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.registerBeanDefinitions(XmlBeanDefinit ionReader.java:468)
              at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:363)

              I'd be happy to submit a JIRA bug report - I just wasn't sure that this was meant to work.

              Comment


              • #22
                Spring 2.5.1 is released nad 2.0.8

                Spring 2.5.1 is released nad 2.0.8

                Comment


                • #23
                  Am I the only one with a dependency problem on Spring 2.5.1 ?

                  http://jira.springframework.org/browse/SPR-4312

                  Comment


                  • #24
                    It's emblematic that tools supposed to eliminate (or at least alleviate) dependency problems causes more problems then "hand" builds

                    Originally posted by PascalAlberty View Post
                    Am I the only one with a dependency problem on Spring 2.5.1 ?

                    http://jira.springframework.org/browse/SPR-4312
                    Last edited by al0; Jan 14th, 2008, 03:35 AM.

                    Comment


                    • #25
                      same error

                      Hello All, i am also getting the same error with spring 2.5 , i am using 1.5.3 version of aspectj libraries

                      org.springframework.beans.factory.BeanDefinitionSt oreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.aop.config.AopNamespaceUtils.r egisterAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Ljava/lang/ObjectV
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:385)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:313)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:290)
                      at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:142)
                      at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:158)
                      at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:184)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.createApplicationContext(AbstractSingleSpr ingContextTests.java:242)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.loadContextLocations(AbstractSingleSpringC ontextTests.java:212)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.loadContext(AbstractSingleSpringContextTes ts.java:187)
                      at org.springframework.test.AbstractSpringContextTest s.getContext(AbstractSpringContextTests.java:140)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.setUp(AbstractSingleSpringContextTests.jav a:100)
                      at junit.framework.TestCase.runBare(TestCase.java:132 )
                      at org.springframework.test.ConditionalTestCase.runBa re(ConditionalTestCase.java:76)
                      at junit.framework.TestResult$1.protect(TestResult.ja va:110)
                      at junit.framework.TestResult.runProtected(TestResult .java:128)
                      at junit.framework.TestResult.run(TestResult.java:113 )
                      at junit.framework.TestCase.run(TestCase.java:124)
                      at junit.framework.TestSuite.runTest(TestSuite.java:2 32)
                      at junit.framework.TestSuite.run(TestSuite.java:227)
                      at org.junit.internal.runners.OldTestClassRunner.run( OldTestClassRunner.java:76)
                      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestR eference.run(JUnit4TestReference.java:38)
                      at org.eclipse.jdt.internal.junit.runner.TestExecutio n.run(TestExecution.java:38)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:460)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:673)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.run(RemoteTestRunner.java:386)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.main(RemoteTestRunner.java:196)
                      Caused by: java.lang.NoSuchMethodError: org.springframework.aop.config.AopNamespaceUtils.r egisterAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Ljava/lang/ObjectV
                      at org.springframework.transaction.config.AnnotationD rivenBeanDefinitionParser.parseInternal(Annotation DrivenBeanDefinitionParser.java:61)
                      at org.springframework.beans.factory.xml.AbstractBean DefinitionParser.parse(AbstractBeanDefinitionParse r.java:56)
                      at org.springframework.beans.factory.xml.NamespaceHan dlerSupport.parse(NamespaceHandlerSupport.java:69)
                      at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1246)
                      at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1236)
                      at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.parseBeanDefinitions(Defau ltBeanDefinitionDocumentReader.java:133)
                      at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.registerBeanDefinitions(De faultBeanDefinitionDocumentReader.java:90)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.registerBeanDefinitions(XmlBeanDefinit ionReader.java:468)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:363)
                      ... 25 more


                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:385)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:313)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:290)
                      at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:142)
                      at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:158)
                      at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:184)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.createApplicationContext(AbstractSingleSpr ingContextTests.java:198)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.loadContextLocations(AbstractSingleSpringC ontextTests.java:179)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.loadContext(AbstractSingleSpringContextTes ts.java:158)
                      at org.springframework.test.AbstractSpringContextTest s.getContext(AbstractSpringContextTests.java:105)
                      at org.springframework.test.AbstractSingleSpringConte xtTests.setUp(AbstractSingleSpringContextTests.jav a:87)
                      at junit.framework.TestCase.runBare(TestCase.java:132 )
                      at org.springframework.test.ConditionalTestCase.runBa re(ConditionalTestCase.java:69)
                      at junit.framework.TestResult$1.protect(TestResult.ja va:110)
                      at junit.framework.TestResult.runProtected(TestResult .java:128)
                      at junit.framework.TestResult.run(TestResult.java:113 )
                      at junit.framework.TestCase.run(TestCase.java:124)
                      at junit.framework.TestSuite.runTest(TestSuite.java:2 32)
                      at junit.framework.TestSuite.run(TestSuite.java:227)
                      at org.junit.internal.runners.OldTestClassRunner.run( OldTestClassRunner.java:76)
                      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestR eference.run(JUnit4TestReference.java:38)
                      at org.eclipse.jdt.internal.junit.runner.TestExecutio n.run(TestExecution.java:38)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:460)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:673)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.run(RemoteTestRunner.java:386)
                      at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.main(RemoteTestRunner.java:196)
                      Caused by: java.lang.NoSuchMethodError: org.springframework.aop.config.AopNamespaceUtils.r egisterAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Ljava/lang/ObjectV
                      at org.springframework.transaction.config.AnnotationD rivenBeanDefinitionParser.parseInternal(Annotation DrivenBeanDefinitionParser.java:61)
                      at org.springframework.beans.factory.xml.AbstractBean DefinitionParser.parse(AbstractBeanDefinitionParse r.java:56)
                      at org.springframework.beans.factory.xml.NamespaceHan dlerSupport.parse(NamespaceHandlerSupport.java:69)
                      at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1246)
                      at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1236)
                      at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.parseBeanDefinitions(Defau ltBeanDefinitionDocumentReader.java:133)
                      at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.registerBeanDefinitions(De faultBeanDefinitionDocumentReader.java:90)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.registerBeanDefinitions(XmlBeanDefinit ionReader.java:468)
                      at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:363)
                      ... 25 more

                      Comment


                      • #26
                        You are probably better of with a new Thread instead of hijacking this one. However I think you are mixing version of spring, make sure that there is only 1 version of spring or of the spring modules (if you don'tuse the big spring.jar) in your classpath. I guess you are mixing Spring 2.0 and Spring 2.5 jars...

                        Comment


                        • #27
                          Originally posted by al0 View Post
                          It's emblematic that tools supposed to eliminate (or at least alleviate) dependency problems causes more problems then "hand" builds
                          As a long time debian user, I found the maven thing pretty ridiculous, at least its dependency management department.

                          In fact, the other poster's issue about mixing different spring versions are a typical result of maven(many spring sub-projects still have coded dependency fo 2.0.x so any time including those would pull them in).

                          Comment


                          • #28
                            spring source code(src)

                            dear all spring community,

                            is there anybody help me to find the source code for building a spring mvc(2.5)??

                            Comment


                            • #29
                              org.springframework.web.servlet is missing from spring.jar?

                              As I tryed to update from Spring 2.0.7 to Spring 2.5.1, I realised that the class:
                              org.springframework.web.servlet.view.InternalResou rceViewResolver ,
                              in fact the whole package org.springframework.web.servlet
                              is missing from spring.jar (in all 3 distributions spring-framework-2.5.1.zip, spring-framework-2.5.1-with-docs.zip spring-framework-2.5.1-with-dependencies.zip)

                              According to the Spring 2.5.x Javadoc it should be there. And acording also with the contents of the src folder in the distribution spring-framework-2.5.1-with-dependencies.zip.

                              Am I missing something?
                              Last edited by bba; Feb 29th, 2008, 05:45 AM.

                              Comment


                              • #30
                                It is in spring-webmvc.jar.
                                From version 2.5 Spring packaging has changed. It is described in details in readme.txt in the root directory of the Spring distribution.
                                Regards,
                                Oleksandr

                                Originally posted by bba View Post
                                As I tryed to update from Spring 2.0.7 to Spring 2.5.1, I realised that the class:
                                org.springframework.web.servlet.view.InternalResou rceViewResolver ,
                                in fact the whole package org.springframework.web.servlet
                                is missing from spring.jar (in all 3 distributions spring-framework-2.5.1.zip, spring-framework-2.5.1-with-docs.zip spring-framework-2.5.1-with-dependencies.zip)

                                According to the Spring 2.5.x Javadoc it should be there. And acording also with the contents of the src folder in the distribution spring-framework-2.5.1-with-dependencies.zip.

                                Am I missing something?

                                Comment

                                Working...
                                X