JavaShuo
栏目
标签
java运行main方法时候报editor does not contain a main type错
时间 2021-01-07
栏目
Java
繁體版
原文
原文链接
执行main方法 解决方法: 方法1.有可能当前java类放的不是地方,放错包了 把当前main方法的类移动到正确的包下,下面main包下错误 方法2. 在左侧的package explorer中右击这个class所在包的上一级目录 --build path--use as source folder。这样就解决问题了。重新打开class,再run一下,ok了。
>>阅读原文<<
相关文章
1.
editor does not contain a main type
2.
MyEclipse上有main函数类运行报错:Editor does not contain a main type
3.
editor does not contain a main type Maven项目
4.
Eclipse运行java文件时,错误提示框:Editor does not contain a main type
5.
解决报错:editor does not contain a main type
6.
Eclipse中Editor does not contain a main type 解决方法
7.
eclipse 解决editor does not contain a main type的方法
8.
eclipse/myeclipse 解决editor does not contain a main type的方法
9.
eclipse 中 editor does not contain a main type错误
10.
使用eclipse运行带有main函数的Java文件时,出现editor does not contain a main type的错误框
更多相关文章...
•
Eclipse 运行程序
-
Eclipse 教程
•
Eclipse 运行配置(Run Configuration)
-
Eclipse 教程
•
SpringBoot中properties文件不能自动提示解决方法
•
Git可视化极简易教程 — Git GUI使用方法
相关标签/搜索
main
运行时错误
contain
运行错误
java报错
时候
editor
运行时
运行方式
运算方法
Java
PHP教程
Redis教程
MySQL教程
java
算法
Java 8
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
gitlab新建分支后,android studio拿不到
2.
Android Wi-Fi 连接/断开时间
3.
今日头条面试题+答案,花点时间看看!
4.
小程序时间组件的开发
5.
小程序学习系列一
6.
[微信小程序] 微信小程序学习(一)——起步
7.
硬件
8.
C3盒模型以及他出现的必要性和圆角边框/前端三
9.
DELL戴尔笔记本关闭触摸板触控板WIN10
10.
Java的long和double类型的赋值操作为什么不是原子性的?
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
editor does not contain a main type
2.
MyEclipse上有main函数类运行报错:Editor does not contain a main type
3.
editor does not contain a main type Maven项目
4.
Eclipse运行java文件时,错误提示框:Editor does not contain a main type
5.
解决报错:editor does not contain a main type
6.
Eclipse中Editor does not contain a main type 解决方法
7.
eclipse 解决editor does not contain a main type的方法
8.
eclipse/myeclipse 解决editor does not contain a main type的方法
9.
eclipse 中 editor does not contain a main type错误
10.
使用eclipse运行带有main函数的Java文件时,出现editor does not contain a main type的错误框
>>更多相关文章<<