读书人

eclipse中弹出异常提示框Could not fi

发布时间: 2012-10-08 19:54:56 作者: rapoo

eclipse中弹出错误提示框Could not find the main class:xxx exit
运行某个类的时候出现此提示,在别的工程中没问题,只在test中有.不似网上说的版本等问题.
在其他项目run configuration中有default path,test没有.
不清楚什么原因,只能每次添加一下classpath,发现直接在build path中添加外部class folder也可以,省得每次加.
(maven ivy)

读书人网 >网络基础

热点推荐