Tomcat部署项目时出现问题,问题如下:
!ENTRYorg.eclipse.wst.server.core402015-01-2620:51:57.927!MESSAGECouldnotpublishtothe...
!ENTRY org.eclipse.wst.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE Could not publish to the server.
!STACK 1
org.eclipse.core.runtime.CoreException: There were issues during deployment to server Tomcat v8.0 Server at localhost. See Error Log for details.
at com.genuitec.eclipse.server.core.GenuitecAppServerBehaviour.publishDeployment(GenuitecAppServerBehaviour.java:119)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.intPublishDeployment(ServerBehaviourDelegate.java:1288)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishDeployments(ServerBehaviourDelegate.java:1266)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish2(ServerBehaviourDelegate.java:1045)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:782)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3322)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:350)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Deployment failed
Contains: Child module deployment failed
!SUBENTRY 1 com.genuitec.eclipse.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE There were issues during deployment to server Tomcat v8.0 Server at localhost. See Error Log for details.
!SUBENTRY 2 com.genuitec.eclipse.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE Deployment failed
!SUBENTRY 3 com.genuitec.eclipse.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE Child module deployment failed
缩小下范围,已经发现是包之间的冲突问题,但是目前的问题是,不能够导入spring-aspects-3.2.0.RELEASE.jar和spring-web-3.2.0.RELEASE.jar,但是需要ContextLoaderListener,该如何解决? 展开
!MESSAGE Could not publish to the server.
!STACK 1
org.eclipse.core.runtime.CoreException: There were issues during deployment to server Tomcat v8.0 Server at localhost. See Error Log for details.
at com.genuitec.eclipse.server.core.GenuitecAppServerBehaviour.publishDeployment(GenuitecAppServerBehaviour.java:119)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.intPublishDeployment(ServerBehaviourDelegate.java:1288)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishDeployments(ServerBehaviourDelegate.java:1266)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish2(ServerBehaviourDelegate.java:1045)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:782)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3322)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:350)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Deployment failed
Contains: Child module deployment failed
!SUBENTRY 1 com.genuitec.eclipse.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE There were issues during deployment to server Tomcat v8.0 Server at localhost. See Error Log for details.
!SUBENTRY 2 com.genuitec.eclipse.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE Deployment failed
!SUBENTRY 3 com.genuitec.eclipse.server.core 4 0 2015-01-26 20:51:57.927
!MESSAGE Child module deployment failed
缩小下范围,已经发现是包之间的冲突问题,但是目前的问题是,不能够导入spring-aspects-3.2.0.RELEASE.jar和spring-web-3.2.0.RELEASE.jar,但是需要ContextLoaderListener,该如何解决? 展开
5个回答
2017-07-07
展开全部
你确定部署好了吗?首先你要确定代码的执行时候的正确性,还有就是部署后启动tomcat是否异常
2015-01-27
展开全部
别的包不兼容,,,,,,,,看看logs\error.log
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你这个包是spring官网提供的吗?
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你试一下能不能直接复制粘贴到lib文件夹下
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询