Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC + JPA integration is not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC + JPA integration is not working

    Hi,

    I am getting the following error while running the Spring MVC + JPA application.
    Code:
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 19 in XML document from ServletContext resource [/WEB-INF/spring-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
    	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
    
    Caused by: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
    11 Aug, 2011 2:36:52 PM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /RSpringMVC1 threw load() exception
    org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
    
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 19 in XML document from ServletContext resource [/WEB-INF/spring-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
    	Caused by: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    	SEVERE: Allocate exception for servlet spring
    org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    11 Aug, 2011 2:37:14 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'beans'.
    my code is here....

    spring-servlet.xml
    Code:
    <?xml version="1.0" encoding="windows-1252"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:p="http://www.springframework.org/schema/p"
           xmlns:context="http://www.springframework.org/schema/context"
           xmlns:mvc="http://www.springframework.org/schema/mvc"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xsi:schemaLocation="
           http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-2.5.6.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-2.5.6.xsd
           http://www.springframework.org/schema/mvc
           http://www.springframework.org/schema/mvc/spring-mvc-2.5.6.xsd
           http://www.springframework.org/schema/aop
           http://www.springframework.org/schema/aop/spring-aop-2.5.6.xsd
           http://www.springframework.org/schema/tx
           http://www.springframework.org/schema/tx/spring-tx-2.5.6.xsd">
     
      <!-- Use @Component annotations for bean definitions -->
      <context:component-scan base-package="guest"/>
     
      <!-- Use @Controller annotations for MVC controller definitions -->
      <mvc:annotation-driven />
     
      <!-- Add JPA support -->
      <bean id="emf" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
      	<property name="persistenceUnitName" value="GuestbookPU" />
         <property name="loadTimeWeaver">
            <bean class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver"/>
          </property>
      </bean>
     
      <!-- Add Transaction support -->
      <bean id="myTxManager"
         class="org.springframework.orm.jpa.JpaTransactionManager">
            <property name="entityManagerFactory" ref="emf"/>
      </bean>
     
      <!-- Use @Transaction annotations for managing transactions -->
      <tx:annotation-driven transaction-manager="myTxManager" />
     
      <!-- View resolver -->
     <bean class=
         "org.springframework.web.servlet.view.InternalResourceViewResolver">
       <property name="prefix" value="/WEB-INF/"/>
     </bean>
    </beans>
    web.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>RSpringMVC1</display-name>
       <servlet>
        <servlet-name>spring</servlet-name>
        <servlet-class>
          org.springframework.web.servlet.DispatcherServlet
        </servlet-class>
        <load-on-startup>2</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>spring</servlet-name>
        <url-pattern>*.html</url-pattern>
      </servlet-mapping>
        <session-config>
        <session-timeout>
          30
        </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    
    </web-app>
    persistence.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
     http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
     
      <persistence-unit name="GuestbookPU" transaction-type="RESOURCE_LOCAL">
        <provider>com.objectdb.jpa.Provider</provider>
        <properties>
    	   <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>     
          <property name="javax.persistence.jdbc.url" value="xxxxx"/>
          <property name="javax.persistence.jdbc.user" value="xxxxx"/>
          <property name="javax.persistence.jdbc.password" value="xxxxx"/>
        </properties>
      </persistence-unit>
     
    </persistence>
    can any body help on this....

  • #2
    Hello

    Why you are using for your schema .xsd declarations *-2.5.6.xsd?

    You must use only *-2.5.xsd instead

    Comment


    • #3
      Hi Pompeii,

      Thanks for reply. But its not working...
      can u please check my code.. here it is..
      Guest.java
      Code:
       package guest;
       
      import java.io.Serializable;
      import java.sql.Date;
      import javax.persistence.Entity;
      import javax.persistence.GeneratedValue;
      import javax.persistence.Id;
       
      @Entity
      public class Guest implements Serializable {
          private static final long serialVersionUID = 1L;
       
          // Persistent Fields:
          @Id @GeneratedValue
          Long id;
          private String name;
          private Date signingDate;
       
          // Constructors:
          public Guest() {
          }
       
          public Guest(String name) {
              this.name = name;
              this.signingDate = new Date(System.currentTimeMillis());
          }
       
          // String Representation:
          @Override
          public String toString() {
              return name + " (signed on " + signingDate + ")";
          }
      }
      GuestController.java
      Code:
       package guest;
       
      import javax.servlet.http.HttpServletRequest;
      import org.springframework.beans.factory.annotation.Autowired;
      import org.springframework.stereotype.Controller;
      import org.springframework.web.bind.annotation.RequestMapping;
      import org.springframework.web.servlet.ModelAndView;
       
      @Controller
      public class GuestController {
       
          @Autowired
          private GuestDao guestDao;
       
          @RequestMapping(value="/guest")
          public ModelAndView guestbook(HttpServletRequest request) {
              // Handle a new guest (if any):
              String name = request.getParameter("name");
              if (name != null)
                  guestDao.persist(new Guest(name));
       
              // Prepare the result view (guest.jsp):
              return new ModelAndView("guest.jsp", "guestDao", guestDao);
          }
      }
      GuestDao.java
      Code:
       package guest;
       
      import java.util.List;
      import javax.persistence.EntityManager;
      import javax.persistence.PersistenceContext;
      //import javax.persistence.TypedQuery;
      import javax.persistence.Query;
      import org.springframework.stereotype.Component;
      import org.springframework.transaction.annotation.Transactional;
      
       
      @Component
      public class GuestDao {
          // Injected database connection:
          @PersistenceContext private EntityManager em;
       
          // Stores a new guest:
          @Transactional
          public void persist(Guest guest) {
              em.persist(guest);
          }
       
          // Retrieves all the guests:
          public List<Guest> getAllGuests() {
          //	TypedQuery<Guest> query = em.createQuery("SELECT g FROM Guest g ORDER BY g.id", Guest.class);
          	Query query1=em.createNativeQuery("SELECT g FROM Guest ORDER BY id");
          	return query1.getResultList();
          	//	return getJpaTemplate().find("SELECT g FROM Guest g ORDER BY g.id");
          }
      }
      persistence.xml
      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
       http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
       
        <persistence-unit name="GuestbookPU" transaction-type="RESOURCE_LOCAL">
          <provider>org.hibernate.ejb.HibernatePersistence</provider>
          <properties>
      	   <property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/> 
      	   <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>     
            <property name="javax.persistence.jdbc.url" value="jdbc:oracle:thin:@xxxxxxx"/>
            <property name="javax.persistence.jdbc.user" value="xxxxx"/>
            <property name="javax.persistence.jdbc.password" value="xxxx"/>
          </properties>
        </persistence-unit>
       
      </persistence>

      Comment


      • #4
        Hi,

        i had changed its not working..... here is my code..
        spring-servlet.xml
        Code:
        <?xml version="1.0" encoding="UTF-8"?>
        <beans xmlns="http://www.springframework.org/schema/beans"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:p="http://www.springframework.org/schema/p"
               xmlns:context="http://www.springframework.org/schema/context"
               xmlns:mvc="http://www.springframework.org/schema/mvc"
               xmlns:aop="http://www.springframework.org/schema/aop"
               xmlns:tx="http://www.springframework.org/schema/tx"
               xsi:schemaLocation="http://www.springframework.org/schema/beans
               http://www.springframework.org/schema/beans/spring-beans.xsd
               http://www.springframework.org/schema/context
               http://www.springframework.org/schema/context/spring-context.xsd
               http://www.springframework.org/schema/mvc
               http://www.springframework.org/schema/mvc/spring-mvc.xsd
               http://www.springframework.org/schema/aop
               http://www.springframework.org/schema/aop/spring-aop.xsd
               http://www.springframework.org/schema/tx
               http://www.springframework.org/schema/tx/spring-tx.xsd">
        
         
          <!-- Use @Component annotations for bean definitions -->
          <context:component-scan base-package="guest"/>
         
          <!-- Use @Controller annotations for MVC controller definitions -->
        <!--   <mvc:annotation-driven /> -->
         
          <!-- Add JPA support -->
          <bean id="emf" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
          	<property name="persistenceUnitName" value="GuestbookPU" />
             <property name="loadTimeWeaver">
                <bean class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver"/>
              </property>
          </bean>
         
          <!-- Add Transaction support -->
          <bean id="myTxManager"
             class="org.springframework.orm.jpa.JpaTransactionManager">
                <property name="entityManagerFactory" ref="emf"/>
          </bean>
         
          <!-- Use @Transaction annotations for managing transactions -->
          <tx:annotation-driven transaction-manager="myTxManager" />
         
          <!-- View resolver -->
         <bean class=
             "org.springframework.web.servlet.view.InternalResourceViewResolver">
           <property name="prefix" value="/WEB-INF/"/>
         </bean>
        </beans>

        Comment


        • #5
          my java code is here...
          Guest.java
          Code:
          package guest;
           
          import java.io.Serializable;
          import java.sql.Date;
          import javax.persistence.Entity;
          import javax.persistence.GeneratedValue;
          import javax.persistence.Id;
           
          @Entity
          public class Guest implements Serializable {
              private static final long serialVersionUID = 1L;
           
              // Persistent Fields:
              @Id @GeneratedValue
              Long id;
              private String name;
              private Date signingDate;
           
              // Constructors:
              public Guest() {
              }
           
              public Guest(String name) {
                  this.name = name;
                  this.signingDate = new Date(System.currentTimeMillis());
              }
           
              // String Representation:
              @Override
              public String toString() {
                  return name + " (signed on " + signingDate + ")";
              }
          }
          GuestController.java
          Code:
          package guest;
           
          import javax.servlet.http.HttpServletRequest;
          import org.springframework.beans.factory.annotation.Autowired;
          import org.springframework.stereotype.Controller;
          import org.springframework.web.bind.annotation.RequestMapping;
          import org.springframework.web.servlet.ModelAndView;
           
          @Controller
          public class GuestController {
           
              @Autowired
              private GuestDao guestDao;
           
              @RequestMapping(value="/guest")
              public ModelAndView guestbook(HttpServletRequest request) {
                  // Handle a new guest (if any):
                  String name = request.getParameter("name");
                  if (name != null)
                      guestDao.persist(new Guest(name));
           
                  // Prepare the result view (guest.jsp):
                  return new ModelAndView("guest.jsp", "guestDao", guestDao);
              }
          }

          Comment


          • #6
            GuestDao.java
            Code:
            package guest;
             
            import java.util.List;
            import javax.persistence.EntityManager;
            import javax.persistence.PersistenceContext;
            //import javax.persistence.TypedQuery;
            import javax.persistence.Query;
            import org.springframework.stereotype.Component;
            import org.springframework.transaction.annotation.Transactional;
            
             
            @Component
            public class GuestDao {
                // Injected database connection:
                @PersistenceContext private EntityManager em;
             
                // Stores a new guest:
                @Transactional
                public void persist(Guest guest) {
                    em.persist(guest);
                }
             
                // Retrieves all the guests:
                public List<Guest> getAllGuests() {
                //	TypedQuery<Guest> query = em.createQuery("SELECT g FROM Guest g ORDER BY g.id", Guest.class);
                	Query query1=em.createNativeQuery("SELECT g FROM Guest ORDER BY id");
                	return query1.getResultList();
                	//	return getJpaTemplate().find("SELECT g FROM Guest g ORDER BY g.id");
                }
            }
            guest.jsp
            Code:
            <%@page contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
            <%@page import="guest.*"%>
             
            <jsp:useBean id="guestDao" type="guest.GuestDao" scope="request" />
             
            <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                "http://www.w3.org/TR/html4/loose.dtd">
             
            <html>
                <head>
                    <title>JPA Guestbook Web Application Tutorial</title>
                </head>
             
                <body>
                    <form method="POST" action="guest.html">
                        Name: <input type="text" name="name" />
                        <input type="submit" value="Add" />
                    </form>
             
                    <hr><ol> 
                    <% for (Guest guest : guestDao.getAllGuests()) { %>
                        <li> <%= guest %> </li>
                    <% } %>
                    </ol><hr>
             
            		<iframe src="http://www.objectdb.com/pw.html?spring-download"
                        frameborder="0" scrolling="no" width="100%" height="30"></iframe>
            	</body>
            </html>

            Comment


            • #7
              index.jsp
              Code:
              <jsp:forward page="guest.html" />

              Comment


              • #8
                Any body can correct me on this...............tnx

                Comment


                • #9
                  Any body can correct me on this...............tnx

                  Comment


                  • #10
                    now i am getting the following error...........

                    Code:
                    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestController': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private guest.GuestDao guest.GuestController.guestDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:243)
                    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
                    
                    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private guest.GuestDao guest.GuestController.guestDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    	
                    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    
                    Caused by: java.lang.NoSuchFieldError: INSTANCE
                    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestController': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private guest.GuestDao guest.GuestController.guestDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private guest.GuestDao guest.GuestController.guestDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE

                    Comment


                    • #11
                      the error in webpage... is
                      Code:
                      org.apache.jasper.JasperException: javax.servlet.ServletException: Servlet.init() for servlet spring threw exception
                      	
                      javax.servlet.ServletException: Servlet.init() for servlet spring threw exception
                      	
                      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestController': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private guest.GuestDao guest.GuestController.guestDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                      
                      org.springframework.beans.factory.BeanCreationException: Could not autowire field: private guest.GuestDao guest.GuestController.guestDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                      
                      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guestDao': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                      
                      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: INSTANCE
                      
                      java.lang.NoSuchFieldError: INSTANCE
                      	org.hibernate.type.BasicTypeRegistry.<init>(BasicTypeRegistry.java:94)

                      Comment


                      • #12
                        any body help on this.............

                        Comment


                        • #13
                          The first problem sounds like a problem with the actual Jars included in the application. The second might come from there too.
                          What jars (and versions) are you using, in wich container?

                          Comment


                          • #14
                            The web container i am using is Tomcat 6.0.32 and the added jar's are here.....

                            cglib-2.2.jar
                            commons-logging.jar
                            jstl.jar
                            servlet-api.jar
                            spring.jar
                            spring-aop.jar
                            spring-beans.jar
                            spring-context.jar
                            spring-context-support.jar
                            spring-core.jar
                            spring-jdbc.jar
                            spring-orm.jar
                            spring-sources.jar
                            spring-test.jar
                            spring-tx.jar
                            spring-web.jar
                            spring-webmvc.jar
                            spring-webmvc-portlet.jar
                            spring-webmvc-struts.jar
                            standard.jar
                            cglib.jar
                            commons-collections.jar
                            commons-logging.jar
                            dom4j.jar
                            ejb3-persistence.jar
                            hibernate3.jar
                            hibernate-annotations.jar
                            hibernate-entitymanager.jar
                            jboss-archive-browsing.jar
                            jta.jar
                            log4j-1.2.13.jar
                            antlr-2.7.6.jar
                            asm-1.5.1.jar
                            cglib-2.1.3.jar
                            cglib-2.2.jar
                            commons-collections-3.1.jar
                            dom4j-1.6.1.jar
                            hibernate3.jar
                            hibernate-jpa-2.0-api-1.0.0.Final.jar
                            hibernate-testing.jar
                            javassist-3.12.0.GA.jar
                            jta-1.1.jar
                            slf4j-api-1.6.1.jar

                            Comment


                            • #15
                              Which spring versions are you using? Are you adding those jars by hand?
                              I think I remember the spring.jar is not being used in recent versions

                              Comment

                              Working...
                              X