Can't find class xxx or something it requires
我是java初学者
我写一个java的类比如 xxx.java
在jdk命令行编译说找不到一些包(应该用什么参数可以在编译时加入包路径?),
然后在IBM java 中编译总算通过。将类导出。
然后在命令行运行。
java xxx sonnet.xml(sonnet.xml 是一个输入参数)
总是说:
Can't find class xxx or something it requires
检查autoexec.bat发现参数CLASSPATH中包含当前路径".",实在头大,
我也是太菜,请各位指点一二。
马上各分。
我写一个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. 难题
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
tomcat报错:Wrapper cannot find servlet class ...问题解决
主要介绍了tomcat报错:Wrapper cannot find servlet class ...问题解决的相关资料,需要的朋友可以参考下


Java SE
