zoukankan      html  css  js  c++  java
  • MyEclipse运行Java出错:could not find the main class:test.program will exit(导入项目)

    自己新建的项目运行没有任何问题。
    但是我导入的很早以前别人写的项目,然后run就会弹框could not find the main class:test.program will exit

    请确认JAVA编译器和JRE版本一致
    右键点击项目--->>>preference-->>>JAVA compiler  查看编译器版本
    右键点击项目--->>>build path--->>>Configure build path--->>>Libraries-->>JRE system library  查看JRE版本

    致修改成样即可

  • 相关阅读:
    Java线程
    IO流
    staitc
    权限修饰符
    nexus
    Maven
    Git 常用命令
    获取url参数
    创建存储过程和函数
    三层引号
  • 原文地址:https://www.cnblogs.com/zhongchang/p/6896764.html
Copyright © 2011-2022 走看看