Connected to the target VM, address: '127.0.0.1:60626', transport: 'socket' Disconnected from the ta
来源:互联网 发布:xp取消网络凭证 编辑:程序博客网 时间:2024/06/05 17:54
D:\Green\Java\jdk1.7.0_79\bin\java...
Connected to the target VM, address: '127.0.0.1:60626', transport: 'socket'
Disconnected from the target VM, address: '127.0.0.1:60626', transport: 'socket'
最近使用IDEA,对于使用啦今年Eclipse的菜鸟来说,刚刚熟悉eclipse的编译环境已经是很不错啦 !突然转用Idea,各种配置,快捷键,还有爆一堆的不知名的错,真的是要疯啦!!!
今天又爆啦一个特别奇葩的错:
这是我使用Junit4测试所写的代码时爆的一个错, Connected to the target VM, address: '127.0.0.1:55606', transport: 'socket';貌似意思时55606端口出现啦问题
然后根据55606端口去查找:
然而并没有找到什么有用的东西;拿着这个异常去网上问大神,好多大神都说这是由于IDEA与Maven不兼容所导致的,但是我之前写的Junit测试类都有用的,所以没有听他们吧IDEA版本或MAVEN版本更换,其实主要是比较懒,无论是换IDEA还是Mav对我来说都是个比较大的工程。人都是被逼出来的,所以准备自己潜下心来研究错误皇天不负有心人终于找到错误:原来Junit4中的测试方法的方法名首字母不能大写!!!
,对吧没有任何改动,就是把首字母换成小写就通过啦,害我纠结这么久,真是****!
其实一般出现上述问题大部分都是你定义的静态方法名出错的原因,我这个虽然不是静态方法,但在junit中的test方法默认为静态方法与main方法的待遇是一样的。
阅读全文
0 0
- Connected to the target VM, address: '127.0.0.1:60626', transport: 'socket' Disconnected from the ta
- Connected to the target VM,address:'localhost:9120',transport:'socket'
- Android Studio无法单点调试Connected to the target VM, address 'localhost8601', transport 'socket'
- spring boot maven 报错 sconnected from the target VM, address: '127.0.0.1:57472', transport: 'socket'
- CE Unable to read data from the transport connection.
- Swift outlet from the to the is invalid ,outlets cannot be connected to repeating
- Warning: cpu: The address range of the slaves connected to the NIOS 2 instruction master exceeds 28
- Script do the data transfer from target server to local
- 161.In your database instance, the user sessions are connected to the database server from the remot
- how jconsole connected to the remote servicemix
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured
- resolve the address to the Access database
- Introduction to the Transport Device Interface[Zz]
- Introduction to the Transport Device Interface
- Introduction to the Transport Device Interface
- How do I change the FROM address to a friendly name?
- How to Delete an Address from the Outlook Auto-Complete List
- How to got the Mac address from …
- Floyd algorithm原理及使用
- 后缀表达式计算
- BZOJ 2844 异或线性基(HDU3949 升级版
- 【爬虫】用 urllib.request 解析网页
- poj 3253
- Connected to the target VM, address: '127.0.0.1:60626', transport: 'socket' Disconnected from the ta
- HDU1540 Tunnel Warfare(线段树,区间合并)
- Spark简介
- 【爬虫】正则表达式解析网页
- jdk1.7安装详细过程
- C语言模块化程序设计
- github代码资源
- 广州CVTE公司笔试程序题
- openstack mtu (by quqi99)