0 Replies Latest reply on Jan 19, 2018 12:47 PM by Glauter Lemos

    Deploy rest application with Wildfly 10 and IntelliJ

    Glauter Lemos Newbie

      Hello guys,

       

      I am working on a maven rest application that was create from eclipse ide + jboss developer studio

       

      On eclipse everything is ok.. but if I try to import the same application on IntelliJ I canít deploy...

       

      Someone could help me with this ?

       

      This is a peace of the log error:

       

      11:49:07,422 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 75) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.multipart.MultipartRelatedWriter is already registered.  2nd registration is being ignored.

      11:49:07,423 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 75) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.multipart.MapMultipartFormDataWriter is already registered.  2nd registration is being ignored.

      11:49:07,423 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 75) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.multipart.MultipartWriter is already registered.  2nd registration is being ignored.

      11:49:07,423 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 75) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataWriter is already registered.  2nd registration is being ignored.

      11:49:07,423 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 75) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.multipart.MultipartRelatedReader is already registered.  2nd registration is being ignored.

      11:49:07,423 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 75) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.multipart.ListMultipartReader is already registered.  2nd registration is being ignored.

      11:49:07,496 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 75) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./agora-api: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./agora-api: java.lang.NullPointerException

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Caused by: java.lang.NullPointerException

      at com.sun.jersey.server.impl.cdi.CDIExtension$ParameterBean.later(CDIExtension.java:961)

      at com.sun.jersey.server.impl.cdi.CDIExtension$ParameterBean.create(CDIExtension.java:977)

      at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:70)

      at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)

      at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)

      at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742)

      at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:842)