我正在使用一个jar文件在java程序中,但是它在运行时生成警告。但是我不希望我的客户看到这些警告。
如何禁用这些警告。
以下是警告信息:
Sep 25, 2009 10:10:33 PM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://www.craigslist.org/js/jquery.js', but got 'application/x-javascript'.