开发者

How do I deal with this warning

开发者 https://www.devze.com 2023-03-25 00:12 出处:网络
My program works but am getting these warning when i compile it. [javac] warning: [path] bad path element \"D:\\temp_104\\server\\lib\\xerces-J_1.

My program works but am getting these warning when i compile it.

    [javac] warning: [path] bad path element "D:\temp_104\server\lib\xerces-J_1.
4.0.jar": no such file or directory
    [javac] warni开发者_Python百科ng: [path] bad path element "D:\temp_104\server\lib\commons-log
ging-1.1.jar": no such file or directory

I get that there is a link to the jar somewhere but how can i find it to delete it ?


In Eclipse, there's a "Configure Build Path" menu item, when you Right-click a project and navigate to "Build Path". If you're not using Eclipse, you just have to find the place where your class path is defined. Whatever command is invoking the javac compiler, it's passing the classpath as argument, find out what it is and where it is and fix it :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消