Can't find class xxx or something it requires
我写一个java的类比如 xxx.java
在jdk命令行编译说找不到一些包(应该用什么参数可以在编译时加入包路径?),
然后在IBM java 中编译总算通过。将类导出。
然后在命令行运行。
java xxx sonnet.xml(sonnet.xml 是一个输入参数)
总是说:
Can't find class xxx or something it requires
检查autoexec.bat发现参数CLASSPATH中包含当前路径".",实在头大,
我也是太菜,请各位指点一二。
马上各分。
相关推荐
解决 Can not find the main class. Program will exit. 难题
解决 Can not find the main class. Program will exit. 难题
视觉特征-自监督-掩码特征预测【2026-03】:V-JEPA2.1【2B】【全Token稠密预测损失】【多层深度自监督】【图像/视频多模态Tokenizer】【160万小时视频】【1.42亿张图像】
Lorenzo Mur-Labadia1,2,∗, Matthew Muckley1, Amir Bar1, Mido Assran1, Koustuv Sinha1, Mike Rabbat1, Yann LeCun1, Nicolas Ballas1,†, Adrien Bardes1,†1FAIR at Meta, 2Universidad de Zaragoza ∗Work done at Meta, †Joint last authorWe present V-JEPA 2.1, a family
win7 解决导出jar包提示 can not find the main class
win7 下 myeclipse 导出jar包后 不能双击运行,只能从dos中打开 修改文件关联执行命令
Could not find the main class
在Myeclipse 8.5中用外带的tomcat时候,会因为JDK版本的问题出现Could not find the main class,按照上述文档的步骤就可以解决,我亲自体验过
WIN7下运行Jar文件提示Could not find the main class
WIN7下运行Jar文件提示Could not find the main class


Java SE
