LINUX下IDEA等工具调试项目时提示:Unable to open debugger port

在Ubuntu下调试项目时使用TOMCAT容器,在设置好相应的TOMCAT LOCAL 路径及相关信息后,点击调试项目出现:

Unable to open debugger port : java.net.SocketException “Socket closed”

网上搜了一大堆,好像都和自己的情况不一样。

后面偶然发现TOMCAT的Bin目录里面的.sh全部都没有可执行权限。果断切换到Bin目录下:

chmod +x *.sh;

一切都顺顺利利的了。

原来是因为自己提取文件的时候将可执行的属性去掉了。好像是因为用了XWindow提取文件的原因,有类似的情况请看看是否是我的情况。

 
 mac 下也同样适用
 
 

{
"timestamp": 1538030297540,
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.http.converter.HttpMessageNotWritableException",
"message": "Could not write JSON: Direct self-reference leading to cycle; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Direct self-reference leading to cycle (through reference chain: com.glodon.activiti.util.Page["result"]->java.util.ArrayList[0]->org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity["processDefinition"])",
"path": "/workflow/process-list"
}

原文地址:https://www.cnblogs.com/xingzc/p/7897034.html