How do I deal with this warning
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 :-)
精彩评论