noclassdeffounderror « Transaction « Spring Q&A

1. Spring NoClassDefFoundError on org/springframework/transaction/support/TransactionSynchronization

Spring JMS is working against me, as the title say I get a NoClassDefFoundError, below you find the code.

import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Queue;
import javax.jms.Session;

import org.springframework.jms.core.JmsTemplate;
import org.springframework.jms.core.JmsTemplate102;
import org.springframework.jms.core.MessageCreator;

public class JMSQueueSender {

2. Jetty error: java.lang.NoClassDefFoundError: org/springframework/transaction/TransactionDefinition

0.0.M2 and Spring for a web application. The question is that the war file can be deployed on Tomcat and execute correctly on Tomcat. But it cannot work on jetty. I run ...

3. NoClassDefFoundError: javax/transaction/TransactionManager

NoClassDefFoundError: javax/transaction/TransactionManager Hello, As I tried to test my spring framework, I ran into the error below: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in file [C:\eclipse\eclipse3.1\workspace\Lob2Portal\WEB-INF\appContext.xml]: Instantiation of ...