Announcement Announcement Module
No announcement yet.
JdoTransactionManager class not found Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • JdoTransactionManager class not found

    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( at org.springframework.util.ClassUtils.forName(ClassU at nitionReaderUtils.createBeanDefinition(BeanDefinit 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">

    <!-- 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>

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

  • #2
    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
      You are missing the jdo.jar.

      ReEdit: I haven't see the previous answer while posting .