It was when I was developing a Servlet using Tomcat 8.5.37. Suddenly
note: further occurrences of http header parsing errors will be logged at debug level.
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:428)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:684)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol
Error occurred. At that time https://localhost:8080/プロジェクト名 I was accessing it with, but I solved it by changing this to http: //.
reference: https://stackoverflow.com/questions/42218237/java-lang-illegalargumentexception-invalid-character-found-in-method-name-http
Recommended Posts