如图 tomact起不来

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

5回答
提问者 光旭Apollo 2018-10-08 16:34:55
  • 建议同学导入老师的工程试试,看看tomcat能否启动成功,祝学习愉快~
    2018-10-08 17:25:49
提问者 光旭Apollo 2018-10-08 16:15:11

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-cli) on project mybatis-wgx: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


提问者 光旭Apollo 2018-10-08 16:14:00

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-cli) on project mybatis-wgx: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

提问者 光旭Apollo 2018-10-08 16:13:18

还是没有用

一叶知秋519 2018-09-17 17:48:33

请问同学控制台有报错信息吗?

建议同学在pom.xml文件中增加<package>war</package>,然后再点击Import Changes后,重新启动服务器后再试下~
祝学习愉快!

  • 提问者 光旭Apollo #1
    添加了 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] 严重: Exception invoking method manageApp java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] 严重: Exception invoking method createStandardContext javax.management.RuntimeOperationsException: Exception invoking method manageApp
    2018-09-17 19:20:51
  • 提问者 光旭Apollo #2
    Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project mybatis-pro: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException deploy时报错
    2018-09-17 19:49:54
  • 一叶知秋519 回复 提问者 光旭Apollo #3
    建议同学把你的pom文件贴一下,方便运行你的代码帮助你解答问题。祝学习愉快!
    2018-09-18 09:57:58
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
Java数据库开发与实战应用2018版
  • 参与学习           人
  • 提交作业       277    份
  • 解答问题       4297    个

Java数据库开发的必备技能,从流行的MySQL数据库开始,到Java原生的数据库管理接口JDBC的使用,再到常用的数据持久化框架MyBatis,让你向Java工程师的目标又迈进了一步!

了解课程
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师