Oi pessoal,
Quando eu insiro o endereço http://localhost:8080/livraria/LivrariaWS vai para a página com a mensagem "HTTP GET not supported". Tentei no Chrome e no Mozilla.
Alguém sabe me dizer o que pode estar acontecendo?
Eu olhei o console do meu Wildfly e tudo parece está ok.
(...)
11:49:55,272 INFO [org.hibernate.Version] (ServerService Thread Pool -- 72) HHH000412: Hibernate Core {5.3.6.Final} 11:49:55,274 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 72) HHH000206: hibernate.properties not found 11:49:55,513 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 72) HCANN000001: Hibernate Commons Annotations {5.0.4.Final} 11:49:55,585 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 73) WFLYCLINF0002: Started client-mappings cache from ejb container 11:49:55,711 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1) 11:49:55,735 INFO [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 3.0.5 (Final) 11:49:55,791 INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-1) JBWS024061: Adding service endpoint metadata: id=LivrariaWS address=http://localhost:8080/livraria/LivrariaWS implementor=br.com.caelum.livraria.webservice.LivrariaWS serviceName={http://webservice.livraria.caelum.com.br/}LivrariaWSService portName={http://webservice.livraria.caelum.com.br/}LivrariaWSPort annotationWsdlLocation=null wsdlLocationOverride=null mtomEnabled=false 11:49:56,293 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service {http://webservice.livraria.caelum.com.br/}LivrariaWSService from class br.com.caelum.livraria.webservice.LivrariaWS 11:49:56,865 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-1) Setting the server's publish address to be http://localhost:8080/livraria/LivrariaWS 11:49:56,953 INFO [org.jboss.ws.cxf.deployment] (MSC service thread 1-1) JBWS024074: WSDL published to: file:/C:/Users/analu/Documents/wildfly-14.0.0.Final/standalone/data/wsdl/livraria.war/LivrariaWSService.wsdl 11:49:57,009 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = livraria.war_com.mysql.jdbc.Driver_5_1 11:49:57,015 INFO [org.jboss.as.webservices] (MSC service thread 1-8) WFLYWS0003: Starting service jboss.ws.endpoint."livraria.war".LivrariaWS 11:49:57,199 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 72) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'livraria.war#livraria' 11:49:57,385 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 72) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect 11:49:57,459 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 72) Envers integration enabled? : true 11:49:58,054 INFO [stdout] (ServerService Thread Pool -- 72) Hibernate: create table Autor (id integer not null auto_increment, nome varchar(255), primary key (id)) engine=InnoDB
11:49:58,066 INFO [stdout] (ServerService Thread Pool -- 72) Hibernate: create table Livro (id integer not null auto_increment, titulo varchar(255), autor_id integer, primary key (id)) engine=InnoDB
11:49:58,068 INFO [stdout] (ServerService Thread Pool -- 72) Hibernate: create table Usuario (id integer not null auto_increment, login varchar(255), senha varchar(255), primary key (id)) engine=InnoDB
11:49:58,071 INFO [stdout] (ServerService Thread Pool -- 72) Hibernate: alter table Livro add constraint FKbikeff7o0o2h3dciq42ykea6g foreign key (autor_id) references Autor (id)
11:49:58,185 WARN [org.jboss.weld.Bootstrap] (MSC service thread 1-6) WELD-000146: BeforeBeanDiscovery.addAnnotatedType(AnnotatedType<?>) used for class com.sun.faces.flow.FlowDiscoveryCDIHelper is deprecated from CDI 1.1! 11:49:58,729 INFO [stdout] (ServerService Thread Pool -- 74) acabou de criar banco
11:49:58,878 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 74) Inicializando Mojarra 2.3.5.SP2 para o contexto '/livraria' 11:50:00,068 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 74) Running on PrimeFaces 4.0 11:50:00,091 WARN [io.jaegertracing.internal.senders.SenderResolver] (ServerService Thread Pool -- 74) No suitable sender found. Using NoopSender, meaning that data will not be sent anywhere! 11:50:00,142 INFO [io.jaegertracing.Configuration] (ServerService Thread Pool -- 74) Initialized tracer=JaegerTracer(version=Java-0.30.6, serviceName=livraria.war, reporter=RemoteReporter(sender=NoopSender(), closeEnqueueTimeout=1000) (...)