Results 1 to 3 of 3

Thread: JdoTransactionManager class not found

  1. #1
    Join Date
    Jun 2005
    Posts
    5

    Default JdoTransactionManager class not found

    hi
    I'm trying to make the jpoxClinic sample work on my machine, under eclipse+jpoxPlugin+SpringPlugin+TomcatSysdeoPlugin .
    I got error on the first jsp page browser rendering. sorry not to have find out the clue on the other posts. here is the error :
    Internal error
    org.springframework.beans.factory.BeanDefinitionSt oreException: Error registering bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Class that bean class [org.springframework.orm.jdo.JdoTransactionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: javax/jdo/JDOException java.lang.NoClassDefFoundError: javax/jdo/JDOException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at org.springframework.util.ClassUtils.forName(ClassU tils.java:86) at org.springframework.beans.factory.support.BeanDefi nitionReaderUtils.createBeanDefinition(BeanDefinit ionReaderUtils.java:61) at...etc

    here is the part of the appContext jpoxClinic code :
    <!-- JPOX Dialect overriding default Spring handling -->
    <bean id="jpoxDialect" class="org.jpox.springframework.JPOXJdoDialect">
    </bean>

    <!-- Transaction manager for a single JPOX PMF -->
    <bean id="transactionManager" class="org.springframework.orm.jdo.JdoTransactionM anager">
    <property name="persistenceManagerFactory"><ref local="pmf"/></property>
    <property name="jdoDialect"><ref local="jpoxDialect"/></property>
    </bean>

    I don't know if it is an problem in tomcat plugin configuration or a jar missing somewhere...
    thanks
    Daniel

  2. #2
    Join Date
    Feb 2005
    Location
    Boston, MA
    Posts
    1,142

    Default

    The error says that javax/jdo/JDOException is missing. That pretty much means you are missing a jar file. Is jdo.jar and jpox.jar in your classpath?

  3. #3
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    You are missing the jdo.jar.

    ReEdit: I haven't see the previous answer while posting .
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Replies: 4
    Last Post: Aug 17th, 2005, 04:42 AM
  5. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM

Posting Permissions

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