Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 00:06:25,927 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "wimbeerbackend-0.1.war" (runtime-name: "wimbeerbackend-0.1.war")
- 00:06:28,549 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment wimbeerbackend-0.1.war
- 00:06:28,585 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.cj.jdbc.Driver (version 6.0)
- 00:06:28,588 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = wimbeerbackend-0.1.war_com.mysql.cj.jdbc.Driver_6_0
- 00:06:28,749 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 105) Inicializando Mojarra 2.2.13.SP1 20160303-1204 para o contexto '/wimbeerbackend'
- 00:06:29,504 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 105) WFLYUT0021: Registered web context: /wimbeerbackend
- 00:06:29,523 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "wimbeerbackend-0.1.war" (runtime-name : "wimbeerbackend-0.1.war")
- 00:06:30,874 INFO [stdout] (default task-9) ------------------------------------------------------------------------------------------> Log: C:\wildfly-10.1.0.Final\bin\log_de_acesso_127.0.0.1.txt
- 00:06:40,246 INFO [stdout] (default task-10) ------------------------------------------------------------------------------------------> Log: C:\wildfly-10.1.0.Final\bin\log_de_acesso_127.0.0.1.txt
- 00:06:40,371 INFO [org.hibernate.Version] (default task-10) HHH000412: Hibernate Core {5.2.10.Final}
- 00:06:40,372 INFO [org.hibernate.cfg.Environment] (default task-10) HHH000206: hibernate.properties not found
- 00:06:40,421 INFO [org.hibernate.annotations.common.Version] (default task-10) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
- 00:06:40,465 WARN [org.hibernate.orm.connections.pooling] (default task-10) HHH10001002: Using Hibernate built-in connection pool (not for production use!)
- 00:06:40,465 INFO [org.hibernate.orm.connections.pooling] (default task-10) HHH10001005: using driver [com.mysql.cj.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/wimbeerdb?autoReconnect=true&useSSL=false&useTimezone=true&serverTimezone=UTC]
- 00:06:40,465 INFO [org.hibernate.orm.connections.pooling] (default task-10) HHH10001001: Connection properties: {user=goku, password=****, autocommit=false}
- 00:06:40,465 INFO [org.hibernate.orm.connections.pooling] (default task-10) HHH10001003: Autocommit mode: false
- 00:06:40,466 INFO [org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (default task-10) HHH000115: Hibernate connection pool size: 20 (min=1)
- 00:06:40,565 INFO [org.hibernate.dialect.Dialect] (default task-10) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
- 00:06:40,723 ERROR [stderr] (default task-10) Initial SessionFactory creation failed.org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.wimbeer.entities.BeerSubStyle.style in com.wimbeer.entities.BeerStyle.subStyles
- 00:06:40,724 ERROR [io.undertow.request] (default task-10) UT005023: Exception handling request to /wimbeerbackend/api/v1/style: javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
- at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:423)
- at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
- at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)
- at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)
- at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
- at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
- at com.wimbeer.util.FilterAcess.doFilter(FilterAcess.java:66)
- at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
- at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
- at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
- at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
- at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
- at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
- at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
- at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
- at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
- at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
- at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
- at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
- at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
- at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
- at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
- at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
- at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
- at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
- at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
- at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
- at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
- at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:256)
- at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:238)
- at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:486)
- at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:316)
- at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
- at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
- at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
- at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
- at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
- at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
- at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291)
- at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140)
- at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403)
- ... 45 more
- Caused by: java.lang.ExceptionInInitializerError
- at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:25)
- at com.wimbeer.dao.GenericDaoAbstract.getSessionFactory(GenericDaoAbstract.java:34)
- at com.wimbeer.dao.GenericDaoAbstract.getAll(GenericDaoAbstract.java:127)
- at com.wimbeer.controls.BeerStyleControls.getAll(BeerStyleControls.java:41)
- at com.wimbeer.rest.RestStyle.getJson(RestStyle.java:35)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
- at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
- at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
- at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
- at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
- at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
- at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
- at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
- at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308)
- ... 54 more
- Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.wimbeer.entities.BeerSubStyle.style in com.wimbeer.entities.BeerStyle.subStyles
- at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:775)
- at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:725)
- at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:54)
- at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1621)
- at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1589)
- at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:278)
- at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
- at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
- at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
- at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:21)
- ... 71 more
- 00:06:25,927 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "wimbeerbackend-0.1.war" (runtime-name: "wimbeerbackend-0.1.war")
- 00:06:28,549 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment wimbeerbackend-0.1.war
- 00:06:28,585 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.cj.jdbc.Driver (version 6.0)
- 00:06:28,588 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = wimbeerbackend-0.1.war_com.mysql.cj.jdbc.Driver_6_0
- 00:06:28,749 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 105) Inicializando Mojarra 2.2.13.SP1 20160303-1204 para o contexto '/wimbeerbackend'
- 00:06:29,504 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 105) WFLYUT0021: Registered web context: /wimbeerbackend
- 00:06:29,523 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "wimbeerbackend-0.1.war" (runtime-name : "wimbeerbackend-0.1.war")
- 00:06:30,874 INFO [stdout] (default task-9) ------------------------------------------------------------------------------------------> Log: C:\wildfly-10.1.0.Final\bin\log_de_acesso_127.0.0.1.txt
- 00:06:40,246 INFO [stdout] (default task-10) ------------------------------------------------------------------------------------------> Log: C:\wildfly-10.1.0.Final\bin\log_de_acesso_127.0.0.1.txt
- 00:06:40,371 INFO [org.hibernate.Version] (default task-10) HHH000412: Hibernate Core {5.2.10.Final}
- 00:06:40,372 INFO [org.hibernate.cfg.Environment] (default task-10) HHH000206: hibernate.properties not found
- 00:06:40,421 INFO [org.hibernate.annotations.common.Version] (default task-10) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
- 00:06:40,465 WARN [org.hibernate.orm.connections.pooling] (default task-10) HHH10001002: Using Hibernate built-in connection pool (not for production use!)
- 00:06:40,465 INFO [org.hibernate.orm.connections.pooling] (default task-10) HHH10001005: using driver [com.mysql.cj.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/wimbeerdb?autoReconnect=true&useSSL=false&useTimezone=true&serverTimezone=UTC]
- 00:06:40,465 INFO [org.hibernate.orm.connections.pooling] (default task-10) HHH10001001: Connection properties: {user=wb, password=****, autocommit=false}
- 00:06:40,465 INFO [org.hibernate.orm.connections.pooling] (default task-10) HHH10001003: Autocommit mode: false
- 00:06:40,466 INFO [org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (default task-10) HHH000115: Hibernate connection pool size: 20 (min=1)
- 00:06:40,565 INFO [org.hibernate.dialect.Dialect] (default task-10) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
- 00:06:40,723 ERROR [stderr] (default task-10) Initial SessionFactory creation failed.org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.wimbeer.entities.BeerSubStyle.style in com.wimbeer.entities.BeerStyle.subStyles
- 00:06:40,724 ERROR [io.undertow.request] (default task-10) UT005023: Exception handling request to /wimbeerbackend/api/v1/style: javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
- at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:423)
- at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
- at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)
- at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)
- at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
- at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
- at com.wimbeer.util.FilterAcess.doFilter(FilterAcess.java:66)
- at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
- at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
- at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
- at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
- at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
- at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
- at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
- at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
- at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
- at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
- at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
- at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
- at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
- at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
- at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
- at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
- at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
- at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
- at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
- at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
- at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
- at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
- at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
- at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:256)
- at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:238)
- at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:486)
- at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:316)
- at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
- at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
- at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
- at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
- at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
- at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
- at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291)
- at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140)
- at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403)
- ... 45 more
- Caused by: java.lang.ExceptionInInitializerError
- at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:25)
- at com.wimbeer.dao.GenericDaoAbstract.getSessionFactory(GenericDaoAbstract.java:34)
- at com.wimbeer.dao.GenericDaoAbstract.getAll(GenericDaoAbstract.java:127)
- at com.wimbeer.controls.BeerStyleControls.getAll(BeerStyleControls.java:41)
- at com.wimbeer.rest.RestStyle.getJson(RestStyle.java:35)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
- at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
- at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
- at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
- at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
- at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
- at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
- at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
- at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308)
- ... 54 more
- Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.wimbeer.entities.BeerSubStyle.style in com.wimbeer.entities.BeerStyle.subStyles
- at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:775)
- at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:725)
- at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:54)
- at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1621)
- at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1589)
- at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:278)
- at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
- at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
- at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
- at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:21)
- ... 71 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement