Parece que Invoicing no es una entidad EJB

2012-06-14
2012-11-26
  • Me sale este error, que debo de hacer

    14/06/2012 09:29:46 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Java\jdk1.6.0_32\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin;C:\Java\jdk1.6.0_32\BIN;C:\Java\jre6\BIN;D:\Herramientas\ServerApplications\JBoss\JBOSSTS_4_2_3_GA\BIN;.
    14/06/2012 09:29:46 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Inicializando Coyote HTTP/1.1 en puerto http-8089
    14/06/2012 09:29:46 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 412 ms
    14/06/2012 09:29:46 AM org.apache.catalina.core.StandardService start
    INFO: Arrancando servicio Catalina
    14/06/2012 09:29:46 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
    14/06/2012 09:29:47 AM org.directwebremoting.util.CommonsLoggingOutput info
    INFO: DWR Version 2.0.5 starting.
    14/06/2012 09:29:47 AM org.directwebremoting.util.CommonsLoggingOutput info
    INFO: - Servlet Engine: Apache Tomcat/6.0.20
    14/06/2012 09:29:47 AM org.directwebremoting.util.CommonsLoggingOutput info
    INFO: - Java Version:   1.6.0_32
    14/06/2012 09:29:47 AM org.directwebremoting.util.CommonsLoggingOutput info
    INFO: - Java Vendor:    Sun Microsystems Inc.
    14/06/2012 09:29:47 AM org.directwebremoting.util.CommonsLoggingOutput info
    INFO: Probably not an issue: org.jdom.Document is not available so the jdom converter will not load. This is only an problem if you wanted to use it.
    14/06/2012 09:29:47 AM org.directwebremoting.util.CommonsLoggingOutput info
    INFO: Probably not an issue: org.jdom.Element is not available so the jdom converter will not load. This is only an problem if you wanted to use it.
    14/06/2012 09:29:47 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Arrancando Coyote HTTP/1.1 en puerto http-8089
    14/06/2012 09:29:47 AM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    14/06/2012 09:29:47 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/22  config=null
    14/06/2012 09:29:47 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 880 ms
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Typical más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Void más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador CRUD más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Print más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador DetailList más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador DetailOnly más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Mode más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador ListOnly más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador SplitOnly más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador List más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Search más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador AddColumns más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Navigation más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador ImageEditor más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Gallery más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador LoadImageIntoGallery más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador LoadImage más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Dialog más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Return más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Reference más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador NewCreation más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Modification más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador ReferenceSearch más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador AddToCollection más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Collection más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador ManyToMany más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador ManyToManyNewElement más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador ManyToManyUpdateElement más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador DefaultListActionsForCollections más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador Sections más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador DefaultSchema más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador PersistenceUnit más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador WebURL más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador UrlParameters más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador TreeView más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador LiferayDocumentLibrary más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.meta.MetaControllers _addMetaController
    ADVERTENCIA: ¡ADVERTENCIA! Se ha cargado el controlador LoadLiferayDocument más de una vez
    14/06/2012 09:29:56 AM org.openxava.controller.ModuleManager <clinit>
    INFO: OpenXava 4.4.1 (2012-4-25)
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in
    SLF4J: Found binding in
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
    14/06/2012 09:29:56 AM org.hibernate.annotations.common.Version <clinit>
    INFO: Hibernate Commons Annotations 3.2.0.Final
    14/06/2012 09:29:56 AM org.hibernate.cfg.Environment <clinit>
    INFO: Hibernate 3.6.1.Final
    14/06/2012 09:29:56 AM org.hibernate.cfg.Environment <clinit>
    INFO: hibernate.properties not found
    14/06/2012 09:29:56 AM org.hibernate.cfg.Environment buildBytecodeProvider
    INFO: Bytecode provider name : javassist
    14/06/2012 09:29:56 AM org.hibernate.cfg.Environment <clinit>
    INFO: using JDK 1.4 java.sql.Timestamp handling
    14/06/2012 09:29:57 AM org.hibernate.ejb.Version <clinit>
    INFO: Hibernate EntityManager 3.6.1.Final
    14/06/2012 09:29:57 AM org.hibernate.util.DTDEntityResolver resolveEntity
    ADVERTENCIA: recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
    14/06/2012 09:29:57 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
    INFO: Mapping class: org.openxava.session.GalleryImage -> IMAGES
    14/06/2012 09:29:57 AM org.hibernate.cfg.AnnotationBinder bindClass
    INFO: Binding entity from annotated class: org.syrius.invoicing.model.Invoice
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.syrius.invoicing.model.Invoice on table Invoice
    14/06/2012 09:29:57 AM org.hibernate.cfg.AnnotationBinder bindClass
    INFO: Binding entity from annotated class: org.syrius.invoicing.model.Product
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.syrius.invoicing.model.Product on table Product
    14/06/2012 09:29:57 AM org.hibernate.cfg.AnnotationBinder bindClass
    INFO: Binding entity from annotated class: org.syrius.invoicing.model.Costumer
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.syrius.invoicing.model.Costumer on table Costumer
    14/06/2012 09:29:57 AM org.hibernate.cfg.AnnotationBinder bindClass
    INFO: Binding entity from annotated class: org.syrius.invoicing.model.Category
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.syrius.invoicing.model.Category on table Category
    14/06/2012 09:29:57 AM org.hibernate.cfg.AnnotationBinder bindClass
    INFO: Binding entity from annotated class: org.syrius.invoicing.model.Author
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.syrius.invoicing.model.Author on table Author
    14/06/2012 09:29:57 AM org.hibernate.cfg.AnnotationBinder bindClass
    INFO: Binding entity from annotated class: org.syrius.invoicing.model.Detail
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.syrius.invoicing.model.Detail on table Detail
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    INFO: Mapping collection: org.syrius.invoicing.model.Invoice.details -> Detail
    14/06/2012 09:29:57 AM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    INFO: Mapping collection: org.syrius.invoicing.model.Costumer.invoices -> Invoice
    14/06/2012 09:29:57 AM org.hibernate.validator.Version <clinit>
    INFO: Hibernate Validator 3.1.0.GA
    14/06/2012 09:29:57 AM org.hibernate.validator.util.Version <clinit>
    INFO: Hibernate Validator 4.1.0.Final
    14/06/2012 09:29:57 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
    INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    14/06/2012 09:29:57 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
    INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    14/06/2012 09:29:57 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
    INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
    14/06/2012 09:29:57 AM org.hibernate.cfg.search.HibernateSearchEventListenerRegister enableHibernateSearch
    INFO: Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
    14/06/2012 09:29:57 AM org.hibernate.util.NamingHelper getInitialContext
    INFO: JNDI InitialContext properties:{}
    14/06/2012 09:29:57 AM org.hibernate.connection.DatasourceConnectionProvider configure
    INFO: Using datasource: java:comp/env/jdbc/FacturaDS
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Database ->
           name : MySQL
        version : 5.1.31-community
          major : 5
          minor : 1
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Driver ->
           name : MySQL-AB JDBC Driver
        version : mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
          major : 5
          minor : 1
    14/06/2012 09:29:58 AM org.hibernate.dialect.Dialect <init>
    INFO: Using dialect: org.hibernate.dialect.MySQLDialect
    14/06/2012 09:29:58 AM org.hibernate.engine.jdbc.JdbcSupportLoader useContextualLobCreation
    INFO: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
    14/06/2012 09:29:58 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
    14/06/2012 09:29:58 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic flush during beforeCompletion(): disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic session close at end of transaction: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch size: 15
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch updates for versioned data: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Scrollable result sets: enabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC3 getGeneratedKeys(): enabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Connection release mode: auto
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Maximum outer join fetch depth: 2
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default batch fetch size: 1
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Generate SQL with comments: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Order SQL updates by primary key: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Order SQL inserts for batching: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    14/06/2012 09:29:58 AM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    INFO: Using ASTQueryTranslatorFactory
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query language substitutions: {}
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JPA-QL strict compliance: enabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Second-level cache: enabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query cache: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory createRegionFactory
    INFO: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Optimize cache for minimal puts: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Structured second-level cache entries: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Statistics: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Deleted entity synthetic identifier rollback: disabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default entity-mode: pojo
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Named query checking : enabled
    14/06/2012 09:29:58 AM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Check Nullability in Core (should be disabled when Bean Validation is on): disabled
    14/06/2012 09:29:58 AM org.hibernate.impl.SessionFactoryImpl <init>
    INFO: building session factory
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@3d31f2b4
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.MaterializedClobType@1a3526cf
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.WrappedMaterializedBlobType@1786ed7a
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.BlobType@1b50f0a7
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.BlobType@1b50f0a7
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.CharacterArrayClobType@5ee771f3
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.MaterializedBlobType@2cea3932
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.ClobType@455118a7
    14/06/2012 09:29:58 AM org.hibernate.type.BasicTypeRegistry register
    INFO: Type registration  overrides previous : org.hibernate.type.ClobType@455118a7
    14/06/2012 09:29:58 AM org.hibernate.id.UUIDHexGenerator <init>
    ADVERTENCIA: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
    14/06/2012 09:29:58 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
    INFO: Not binding factory to JNDI, no JNDI name configured
    ******************************
    **** ESTO ME GENERA ****
    ******************************
    14/06/2012 09:44:19 AM org.apache.catalina.core.ApplicationDispatcher invoke
    GRAVE: El Servlet.service() para servlet jsp lanzó una excepción
    org.openxava.util.XavaException: Parece ser que Invoicing no es una entidad EJB3 ni una clase transitoria del modelo
    at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2485)
    at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:180)
    at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)
    at org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
    at org.openxava.component.MetaComponent.get(MetaComponent.java:60)
    at org.openxava.component.MetaComponent.exists(MetaComponent.java:75)
    at org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:151)
    at org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:140)
    at org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:1022)
    at org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:230)
    at org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:995)
    at org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:166)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Thread.java:662)
    14/06/2012 09:44:19 AM org.apache.catalina.core.StandardWrapperValve invoke
    GRAVE: Servlet.service() para servlet module lanzó excepción
    org.openxava.util.XavaException: Parece ser que Invoicing no es una entidad EJB3 ni una clase transitoria del modelo
    at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2485)
    at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:180)
    at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)
    at org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
    at org.openxava.component.MetaComponent.get(MetaComponent.java:60)
    at org.openxava.component.MetaComponent.exists(MetaComponent.java:75)
    at org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:151)
    at org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:140)
    at org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:1022)
    at org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:230)
    at org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:995)
    at org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:166)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Thread.java:662)

    Este es el modelo Invoice y así mismo me genera este error usando el modelo Product

    package org.syrius.invoicing.model;

    import javax.persistence.*;

    import org.openxava.annotations.*;
    import org.openxava.calculators.*;
    import org.syrius.invoicing.calculators.*;
    import org.hibernate.annotations.GenericGenerator;
    import java.util.*;

    @View(members="year, number, date;customer;details;remarks")
    @Entity
    public class Invoice {

    @Id
    @GeneratedValue(generator = "system-uuid")
    @Hidden
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(length = 32)
    private String oId; // Añadida como clave oculta autogenerada

    @Column(length = 4)
    @DefaultValueCalculator(CurrentYearCalculator.class)
    private int year;

    @Column(length = 6)
    @DefaultValueCalculator(value = NextNumberForYearCalculator.class, properties = @PropertyValue(name = "year"))
    private int number;

    @Required
    @DefaultValueCalculator(CurrentDateCalculator.class) // Fecha actual
    private Date date;

    @Stereotype("MEMO")
    private String remarks;

    @ManyToOne(fetch=FetchType.LAZY, optional=false)
    @ReferenceView("Simple")
    private Costumer customer;

    @OneToMany(mappedBy="parent", cascade=CascadeType.ALL)
    @ListProperties("product.number, product.description, quantity")
    private Collection<Detail> details = new ArrayList<Detail>();

    public String getoId() {
    return oId;
    }

    public void setoId(String oId) {
    this.oId = oId;
    }

    public int getYear() {
    return year;
    }

    public void setYear(int year) {
    this.year = year;
    }

    public int getNumber() {
    return number;
    }

    public void setNumber(int number) {
    this.number = number;
    }

    public Date getDate() {
    return date;
    }

    public void setDate(Date date) {
    this.date = date;
    }

    public String getRemarks() {
    return remarks;
    }

    public void setRemarks(String remarks) {
    this.remarks = remarks;
    }

    public Costumer getCustomer() {
    return customer;
    }

    public void setCustomer(Costumer customer) {
    this.customer = customer;
    }

    public Collection<Detail> getDetails() {
    return details;
    }

    public void setDetails(Collection<Detail> details) {
    this.details = details;
    }

    }

    Gracias por su ayuda

     
  • Javier Paniza
    Javier Paniza
    2012-06-18

    Hola Juan Carlos,

    ¿Qué URL utilizas para ejecutar la aplicación?
    ¿Seguro que es esta?:
    localhost:8080/Invoicing/modules/Invoice

    ¿Te genera alguna traza más?
    ¿Te funcionan las demás entidades de tu aplicación?

    -------
    Ayuda a otros en este foro como yo te ayudo a ti
    y no olvides leer el libro de OpenXava.