Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
165 views
in Technique[技术] by (71.8m points)

JAVA找不到主类

使用 java 找不到主类

提示信息:

错误: 找不到或无法加载主类 cn.xxx.cofood.user.main.Server

"C:Program FilesJavajdk1.8.0_121injava" -classpath D:workspaceco-useruildclassesmain cn.xxx.cofood.user.main.Server

但是明明已经加入了 classpath 而且该类的 package 为 cn.xxx.cofood.user.main.Server


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...