Hola!

Registrándote como bakuno podrás publicar, compartir y comunicarte en privado con otros bakuos :D

Regístrame ya!

problema con configuracion de hibernate

kynexxx

Bovino adicto
Desde
6 Sep 2011
Mensajes
596
hola que tal, tengo un problema con mi configuracion de hibernate, estoy usando maven, struts2, hibernate y spring y tengo el siguiente components.xml en WEB-INF

Código:
<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:persistence="http://jboss.com/products/seam/persistence"
    xmlns:spring="http://jboss.com/products/seam/spring"
    xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd 
                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">

<spring:spring-transaction
        platform-transaction-manager-name="transactionManager" />
        
        
        <persistence:managed-hibernate-session
        name="hibernateSession" auto-create="true" session-factory="#{hibernateSessionFactory}" />    
         
</components>

pero me salta estos errores
Código:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 
 'spring:spring-transaction'.

Código:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 
 'persistence:managed-hibernate-session'.

alguna sugerencia
 
Volver
Arriba