I get a warning message per second after a successful deployment on tomcat 7:
org.springframework.web.servlet.PageNotFound handleHttpRequestMethodNotSupported WARNING: "HEAD" request method is not supported
but the application . How to avoid this annoying message?
This is an IntelliJ IDEA bug
β see the problem
it will be fixed in the next version and until the patch is created. Download link
Close the idea and replace the next file with the downloaded one (before backing up the source file)
<idea home>/plugins/JavaEE/lib/javaee-impl.jar
You will need to add the following @RequestMapping(method = {RequestMethod.GET, RequestMethod.HEAD}) to your methods that do not work. This will allow them to process HEAD requests and raise a warning.
@RequestMapping(method = {RequestMethod.GET, RequestMethod.HEAD})
HEAD
Source: https://habr.com/ru/post/982544/More articles:JavaScript: var {left, ... props} = this.props; - javascripthow can I interrupt a gulp construct - javascriptHow to update UITableViewCells using NSTimer and NSNotificationCentre in Swift - iosStoring / Retrieving Master Data in a Custom Cell in Swift - uitableviewMeteor; How to change a template (view) for an event? - javascriptPutting an Alias ββin the Partial Choice Doctrine - doctrineIs it good practice to provide each CouchDB user with a separate database? - javascriptspring web-mvc 4 java config not working - javaPython regex bad range of characters. - pythonCloudant: Database Search - searchAll Articles