JavaShuo
栏目
标签
解决报错:editor does not contain a main type
时间 2021-01-02
标签
editor does not contain a main
把文件夹转换为java包
栏目
Java
繁體版
原文
原文链接
报错过程 今天运行带有main函数的java文件时,报错:editor does not contain a main type 明明有main函数,但是为什么会报错呢? 问题分析 逐一排查问题发现:原来java类没有写到src里面的包里,如下图: 问题解决 方式一: 把java类移入src包下就行了 方式二: 有可能src不是包,而是一个文件夹(文件夹的图标比包的图标少一个“田”字)如下图: 这
>>阅读原文<<
相关文章
1.
editor does not contain a main type
2.
editor does not contain a main type Maven项目
3.
Eclipse中Editor does not contain a main type 解决方法
4.
Editor does not contain a main type解决方案
5.
eclipse弹框提示editor does not contain a main type解决办法
6.
Java使用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.
editor does not contain a main type的解决方案
10.
eclipse 中 editor does not contain a main type错误
更多相关文章...
•
SVN 解决冲突
-
SVN 教程
•
ARP报文格式详解
-
TCP/IP教程
•
Scala 中文乱码解决
•
PHP Ajax 跨域问题最佳解决方案
相关标签/搜索
contain
main
错误解决
editor
type
错报
报错
python 错误解决
Python 解决错误
解决ssl错误
Java
Spring教程
NoSQL教程
MyBatis教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
.Net core webapi2.1生成exe可执行文件
2.
查看dll信息工具-oleview
3.
c++初学者
4.
VM下载及安装
5.
win10下如何安装.NetFrame框架
6.
WIN10 安装
7.
JAVA的环境配置
8.
idea全局配置maven
9.
vue项目启动
10.
SVN使用-Can't remove directoryXXXX,目录不是空的,项目报错,有红叉
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
editor does not contain a main type
2.
editor does not contain a main type Maven项目
3.
Eclipse中Editor does not contain a main type 解决方法
4.
Editor does not contain a main type解决方案
5.
eclipse弹框提示editor does not contain a main type解决办法
6.
Java使用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.
editor does not contain a main type的解决方案
10.
eclipse 中 editor does not contain a main type错误
>>更多相关文章<<