安装、运行、预览省略

错误1:8080端口被IIS占用,关闭它

Description:

The Tomcat connector configured to listen on port 8080 failed to start. The port
may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's liste
ning on port 8080, or configure this application to listen on another port.

http://localhost:8080/d.do

HelloWorld.grovy

@RestController
class HelloWorld {
@RequestMapping("/d.do")
String hello() {
"Hello JournalDev World."
}
}

("/d.do")去掉d.do可以用http://localhost:8080访问;路径不对会报下列错误

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Mar 10 15:57:04 CST 2018
There was an unexpected error (type=Not Found, status=404).
No message available

最新文章

  1. Unity3D移动平台动态读取外部文件全解析
  2. Angular.JS学习笔记——1
  3. 自动封装Servlet HttpServletRequest请求成为一个POJO对象
  4. HBase简介(很好的梳理资料)
  5. CABasicAnimation 使用
  6. Unity3D之Mecanim动画系统学习笔记(十一):高级功能应用
  7. flappy pig小游戏源码分析(3)——解剖util
  8. jQuery学习教程(2)
  9. HTML5 Web存储(Web Storage)技术及用法
  10. trie tree(字典树)
  11. Java代码优化策略
  12. switf资源
  13. [NOI2011]阿狸的打字机(好题!!!!)
  14. AlexeyAB大神版yolo 待完善
  15. 540. Single Element in a Sorted Array
  16. hadoop 开发环境搭建
  17. Mysql安装错误:Install/Remove of the Service Denied!解决办法
  18. 读书笔记 enum枚举之位标志属性(Flags)浅析
  19. TensorFlow函数:tf.truncated_normal
  20. 秒杀多线程第六篇 经典线程同步 事件Event

热门文章

  1. 进制转换&数据类型(1)
  2. VS2015 添加web服务(电子看板)
  3. 基本数据类型(list,tuple)
  4. phpword根据模板导出word
  5. jquery一些容易混淆的
  6. 100-days: Five
  7. vue-app项目,将px自动转化为rem
  8. TZOJ 1513 Farm Tour(最小费用最大流)
  9. TZOJ 1210 The area(微积分)
  10. Python: PySide(PyQt)QMessageBox按钮显示中文