Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
664 views
in Technique[技术] by (71.8m points)

Tomcat on Windows, Chrome console: net::ERR_CONTENT_LENGTH_MISMATCH 200

After upgrading Tomcat on windows, Chrome is not able to pull some files. It seems to fail when running scripts using relative paths. Some small files return fine.

Chrome console:

net::ERR_CONTENT_LENGTH_MISMATCH 200

Problem persists when trying several newer versions of Apache Tomcat.

For the record, I have also changed my appBase. Problem seems to persist either way. Default Tomcat content serves fine.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This can be solved by opening the Tomcat Service

  • Properties
  • Log On
  • Select local system account
  • Allow service to interact with desktop (not sure this is needed?)

And is explained fully here Tomcat Service gets installed with “Local Service” account


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...