在GlassFish中部署后,URL具有相同的模式

时间:2019-04-21 08:58:14

标签: java intellij-idea

我想在IntelliJ IDEA上部署Web应用程序。上次运行良好,但直到现在,它仍无法启动和部署,我也不知道为什么。我正在使用GlassFish服务器。

它只会给我:

[2019-04-21 04:51:16,922] Artifact Application:ear exploded: Artifact is being deployed, please wait...
[2019-04-21 04:51:45,775] Artifact Application:ear exploded: Error during artifact deployment. See server log for details.
[2019-04-21 04:51:45,776] Artifact Application:ear exploded: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: Exception while deploying the app [Application-9.7.0] : Servlet [ParticipantPortImpl] and Servlet [CoordinatorPortImpl] have the same url pattern: [/WSAT11Service]. Related annotation information: annotation [@javax.jws.WebService(wsdlLocation=/wsdls/wsat11/wstx-wsat-1.1-wsdl-200702.wsdl, targetNamespace=http://docs.oasis-open.org/ws-tx/wsat/2006/06, name=, endpointInterface=com.sun.xml.ws.tx.at.v11.types.CoordinatorPortType, portName=CoordinatorPort, serviceName=WSAT11Service)] on annotated element [class com.sun.xml.ws.tx.at.v11.endpoint.CoordinatorPortImpl] of type [TYPE]. Please see server.log for more details.

这是GlassFish日志堆栈:

[2019-04-21T16:51:45.740+0800] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.tools.deployment.dol] [tid: _ThreadID=46 _ThreadName=admin-listener(1)] [timeMillis: 1555836705740] [levelValue: 1000] [[
  Servlet [ParticipantPortImpl] and Servlet [CoordinatorPortImpl] have the same url pattern: [/WSAT11Service]]]

[2019-04-21T16:51:45.742+0800] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=46 _ThreadName=admin-listener(1)] [timeMillis: 1555836705742] [levelValue: 1000] [[
  Exception while deploying the app [Application-9.7.0]]]

[2019-04-21T16:51:45.743+0800] [glassfish 4.1] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=46 _ThreadName=admin-listener(1)] [timeMillis: 1555836705743] [levelValue: 1000] [[
  Exception during lifecycle processing

我知道这与我的代码无关,更可能是一些配置问题。我尝试过的:

  1. 创建新域
  2. 搜索servlet名称,但它们不在我的项目中

这是怎么回事?

0 个答案:

没有答案