用Jbuilder编译为什么会出现could not find the main class ,program will exit? class_path也没问题呀

liuqiang2003 2003-08-20 12:17:53
package com.ctc.hightex.salemanagement.deliverymanagement;


public class Untitled1 {

public static void main(String[] args)
throws Exception {
String mFlag = new String("030808047");
DeliveryMN mDeliveryMN = new DeliveryMN();
try{
mDeliveryMN.salesAccounting(mFlag);
} catch(Exception se){
String message = "orderListedDlvNoticeSheet数据库关闭失败";
System.out.println(se);
}
}

}

class_path也没问题呀.
...全文
55 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
gboy2003 2003-08-20
  • 打赏
  • 举报
回复
up!
wellsoon 2003-08-20
  • 打赏
  • 举报
回复
主菜单->Porject->Project Properties ->Run->如果没有,则 new,
如果有,则Edit 看见那里的Main class了吗???

选择你的com.ctc.hightex.salemanagement.deliverymanagement.Untitled1.

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧