Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: MalformedParameterizedTypeException

  1. #11
    Join Date
    Apr 2011
    Posts
    15

    Default

    Quote Originally Posted by kshronts View Post
    I checked the jar for the data commons and it is missing the org.springframework.data.repository.support.Entity Information class. I suspect this is the cause of my problem. Any idea when the next release will be out?
    This is exactly why I mentioned getting the example and building it with maven. It will make sure you have a consistent set of JARs that work (and you will be able to test that by running the unit tests in the sample). From there it should become easier to replicate a working environment for your code.

    Trust me, I wasted one week because I did not want to go with maven, but it helped me solve this in a couple of hours (and I am still not using it on a day to day basis).

  2. #12
    Join Date
    Jun 2011
    Posts
    2

    Default

    Any luck with this? I have the same issue with JpaRepository of version 1.0.0.M2. My various artifact versions are listed below

    <spring.version>3.0.5.RELEASE</spring.version>
    <spring-data-jpa.version>1.0.0.M2</spring-data-jpa.version>
    <hibernate.version>3.6.1.Final</hibernate.version>
    <hibernate.jpa.version>1.0.0.Final</hibernate.jpa.version>

    It works if I switch to CrudRepository for version <spring-data-jpa.version>1.0.0.BUILDSNAPSHOT</spring-data-jpa.version>

  3. #13
    Join Date
    Apr 2011
    Posts
    15

    Default

    Quote Originally Posted by nazeer View Post
    Any luck with this?
    Please add code tags to your post where appropriate.

    This thing works for me, as stated in previous posts. If it is of any help to you, here are all the JARs in my classpath:

    Code:
    antlr-2.7.6.jar
    aopalliance.jar
    aspectj-1.6.11.jar
    cglib-2.2.jar
    com.springsource.org.objectweb.asm-3.1.0.jar
    commons-collections-3.1.jar
    commons-dbcp-1.4.jar
    commons-httpclient-3.0.1.jar
    commons-logging-1.1.1.jar
    commons-management-1.0.jar
    commons-pool-1.5.6.jar
    dom4j-1.6.1.jar
    hibernate-jpa-2.0-api-1.0.0.Final.jar
    hibernate3.jar
    javassist-3.14.0.GA.jar
    jta-1.1.jar
    log4j-1.2.14.jar
    org.springframework.aop-3.0.5.RELEASE.jar
    org.springframework.asm-3.0.5.RELEASE.jar
    org.springframework.aspects-3.0.5.RELEASE.jar
    org.springframework.beans-3.0.5.RELEASE.jar
    org.springframework.context-3.0.5.RELEASE.jar
    org.springframework.context.support-3.0.5.RELEASE.jar
    org.springframework.core-3.0.5.RELEASE.jar
    org.springframework.expression-3.0.5.RELEASE.jar
    org.springframework.jdbc-3.0.5.RELEASE.jar
    org.springframework.orm-3.0.5.RELEASE.jar
    org.springframework.oxm-3.0.5.RELEASE.jar
    org.springframework.transaction-3.0.5.RELEASE.jar
    org.springframework.web-3.0.5.RELEASE.jar
    org.springframework.web.servlet-3.0.5.RELEASE.jar
    postgresql-8.4-702.jdbc4.jar
    slf4j-api-1.6.1.jar
    slf4j-log4j12-1.6.1.jar
    spring-data-commons-core-1.0.0.M3.jar
    spring-data-jpa-1.0.0.M1.jar
    xstream-1.3.1.jar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •