Advertisement
Guest User

Erro java

a guest
Sep 12th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 24.19 KB | None | 0 0
  1. 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")
  2. 00:06:28,549 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment wimbeerbackend-0.1.war
  3. 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)
  4. 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
  5. 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'
  6. 00:06:29,504 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 105) WFLYUT0021: Registered web context: /wimbeerbackend
  7. 00:06:29,523 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "wimbeerbackend-0.1.war" (runtime-name : "wimbeerbackend-0.1.war")
  8. 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
  9.  
  10. 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
  11.  
  12. 00:06:40,371 INFO  [org.hibernate.Version] (default task-10) HHH000412: Hibernate Core {5.2.10.Final}
  13. 00:06:40,372 INFO  [org.hibernate.cfg.Environment] (default task-10) HHH000206: hibernate.properties not found
  14. 00:06:40,421 INFO  [org.hibernate.annotations.common.Version] (default task-10) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  15. 00:06:40,465 WARN  [org.hibernate.orm.connections.pooling] (default task-10) HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  16. 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]
  17. 00:06:40,465 INFO  [org.hibernate.orm.connections.pooling] (default task-10) HHH10001001: Connection properties: {user=goku, password=****, autocommit=false}
  18. 00:06:40,465 INFO  [org.hibernate.orm.connections.pooling] (default task-10) HHH10001003: Autocommit mode: false
  19. 00:06:40,466 INFO  [org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (default task-10) HHH000115: Hibernate connection pool size: 20 (min=1)
  20. 00:06:40,565 INFO  [org.hibernate.dialect.Dialect] (default task-10) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
  21. 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
  22.  
  23. 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
  24.     at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:423)
  25.     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
  26.     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)
  27.     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)
  28.     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  29.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  30.     at com.wimbeer.util.FilterAcess.doFilter(FilterAcess.java:66)
  31.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  32.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  33.     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  34.     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  35.     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  36.     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  37.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  38.     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  39.     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  40.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  41.     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  42.     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  43.     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  44.     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  45.     at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  46.     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  47.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  48.     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  49.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  50.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  51.     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
  52.     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
  53.     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
  54.     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  55.     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  56.     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  57.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  58.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  59.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  60.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  61.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  62.     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
  63.     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  64.     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
  65.     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  66.     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
  67.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  68.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  69.     at java.lang.Thread.run(Thread.java:748)
  70. Caused by: org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
  71.     at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:256)
  72.     at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:238)
  73.     at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:486)
  74.     at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:316)
  75.     at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
  76.     at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
  77.     at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
  78.     at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
  79.     at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
  80.     at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
  81.     at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291)
  82.     at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140)
  83.     at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403)
  84.     ... 45 more
  85. Caused by: java.lang.ExceptionInInitializerError
  86.     at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:25)
  87.     at com.wimbeer.dao.GenericDaoAbstract.getSessionFactory(GenericDaoAbstract.java:34)
  88.     at com.wimbeer.dao.GenericDaoAbstract.getAll(GenericDaoAbstract.java:127)
  89.     at com.wimbeer.controls.BeerStyleControls.getAll(BeerStyleControls.java:41)
  90.     at com.wimbeer.rest.RestStyle.getJson(RestStyle.java:35)
  91.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  92.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  93.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  94.     at java.lang.reflect.Method.invoke(Method.java:498)
  95.     at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
  96.     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
  97.     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
  98.     at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
  99.     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
  100.     at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
  101.     at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
  102.     at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
  103.     at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308)
  104.     ... 54 more
  105. Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.wimbeer.entities.BeerSubStyle.style in com.wimbeer.entities.BeerStyle.subStyles
  106.     at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:775)
  107.     at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:725)
  108.     at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:54)
  109.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1621)
  110.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1589)
  111.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:278)
  112.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
  113.     at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
  114.     at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
  115.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
  116.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
  117.     at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:21)
  118.     ... 71 more
  119.  
  120. 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")
  121. 00:06:28,549 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment wimbeerbackend-0.1.war
  122. 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)
  123. 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
  124. 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'
  125. 00:06:29,504 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 105) WFLYUT0021: Registered web context: /wimbeerbackend
  126. 00:06:29,523 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "wimbeerbackend-0.1.war" (runtime-name : "wimbeerbackend-0.1.war")
  127. 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
  128.  
  129. 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
  130.  
  131. 00:06:40,371 INFO  [org.hibernate.Version] (default task-10) HHH000412: Hibernate Core {5.2.10.Final}
  132. 00:06:40,372 INFO  [org.hibernate.cfg.Environment] (default task-10) HHH000206: hibernate.properties not found
  133. 00:06:40,421 INFO  [org.hibernate.annotations.common.Version] (default task-10) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  134. 00:06:40,465 WARN  [org.hibernate.orm.connections.pooling] (default task-10) HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  135. 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]
  136. 00:06:40,465 INFO  [org.hibernate.orm.connections.pooling] (default task-10) HHH10001001: Connection properties: {user=wb, password=****, autocommit=false}
  137. 00:06:40,465 INFO  [org.hibernate.orm.connections.pooling] (default task-10) HHH10001003: Autocommit mode: false
  138. 00:06:40,466 INFO  [org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (default task-10) HHH000115: Hibernate connection pool size: 20 (min=1)
  139. 00:06:40,565 INFO  [org.hibernate.dialect.Dialect] (default task-10) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
  140. 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
  141.  
  142. 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
  143.     at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:423)
  144.     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)
  145.     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)
  146.     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)
  147.     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  148.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  149.     at com.wimbeer.util.FilterAcess.doFilter(FilterAcess.java:66)
  150.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  151.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  152.     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  153.     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  154.     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  155.     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  156.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  157.     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  158.     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  159.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  160.     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  161.     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  162.     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  163.     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  164.     at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  165.     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  166.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  167.     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  168.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  169.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  170.     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
  171.     at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
  172.     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
  173.     at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  174.     at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  175.     at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  176.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  177.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  178.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  179.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  180.     at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
  181.     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
  182.     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  183.     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
  184.     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  185.     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
  186.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  187.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  188.     at java.lang.Thread.run(Thread.java:748)
  189. Caused by: org.glassfish.jersey.server.ContainerException: java.lang.ExceptionInInitializerError
  190.     at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:256)
  191.     at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:238)
  192.     at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:486)
  193.     at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:316)
  194.     at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
  195.     at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
  196.     at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
  197.     at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
  198.     at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
  199.     at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
  200.     at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291)
  201.     at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140)
  202.     at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403)
  203.     ... 45 more
  204. Caused by: java.lang.ExceptionInInitializerError
  205.     at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:25)
  206.     at com.wimbeer.dao.GenericDaoAbstract.getSessionFactory(GenericDaoAbstract.java:34)
  207.     at com.wimbeer.dao.GenericDaoAbstract.getAll(GenericDaoAbstract.java:127)
  208.     at com.wimbeer.controls.BeerStyleControls.getAll(BeerStyleControls.java:41)
  209.     at com.wimbeer.rest.RestStyle.getJson(RestStyle.java:35)
  210.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  211.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  212.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  213.     at java.lang.reflect.Method.invoke(Method.java:498)
  214.     at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
  215.     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
  216.     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
  217.     at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
  218.     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
  219.     at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
  220.     at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
  221.     at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
  222.     at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308)
  223.     ... 54 more
  224. Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: com.wimbeer.entities.BeerSubStyle.style in com.wimbeer.entities.BeerStyle.subStyles
  225.     at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:775)
  226.     at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:725)
  227.     at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:54)
  228.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1621)
  229.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1589)
  230.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:278)
  231.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
  232.     at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
  233.     at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
  234.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
  235.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
  236.     at com.wimbeer.conection.HibernateUtil.<init>(HibernateUtil.java:21)
  237.     ... 71 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement